On 07/11/2014 12:58 PM, ToddAndMargo wrote:
Hi All,
I have a bash script for synchronizing a flashing drive (target)
with my hard drive (source) I take to customer sites (with a read
only switch so I don't spread viruses).
I currently "rsync" 11 different directories. Each sync line
looks like this:
rsync -rv --delete $MyCDsSource/Linux $MyCDsTarget/.; sync; sync
Problem: it is slow -- takes three hours. To help the
speed issue, I upgraded from USB 2 to USB 3. Backup went
from 3 hr-15 min to 3 hr-5 min. It is almost faster
to wipe the stick and rewrite it.
Anyone know of a way to speed up rsync?
Many thanks,
-T
Hi All,
I am so tickled with the way it is operating now
I am beside myself. I sincerely appreciate everyone
who helped me fix this! I stand on the shoulders of
giants.
-T
My final code:
Options="-rv --delete --modify-window=1 --times --inplace --copy-links "
rsync ${Options} $MyCDsSource/Linux $MyCDsTarget/.; sync; sync