Displaying 1 result from an estimated 1 matches for "dir_b_tmp".
2002 Apr 16
3
how to take least risk on rsync dir
Hello list,
When rsync dir_A to dir_B, I hope I wont make any change to the original
dir_B unless the rsync procedure end withour errors, therefore, I hope
there's somethig like
rsync -av dir_A dir_B_tmp && \
mv dir_B dir_B.bkup &&
mv dir_B_tmp dir_B
This small script can ensure the minimal change time between 2 versions
of archive. Is this built in the native rsync function? Do I have to
write scripts myself?
--
Patrick Hsieh <pahud@pahud.net>
GPG public key http://pahud.ne...