1

Help to reduce time of archiving

view story
linux-howto

http://www.unix.com – hi all, i have written the following script that does this work: 1. copy large logs files from one server to another. 2. then unzip this files and extraxt from these large https logs only those fields that are neccesary. 3. then archive the extracted logs to new files. BUT the problem is that all this proccess is TOO SLOW and it takes much time to be completed. Could you please take a look at my script and suggest me any improvement? Thank you in advance!! Code: #!/bin/bash set -x FINALDIR=/data/media/LOGS/archive/_cdrc2 DATE=`date +%Y%m%d` #echo "`date +'%Y/%m/%d %H:%M:%S'` St (HowTos)