Quick rsync question

Les Mikesell lesmikesell at gmail.com
Tue Feb 21 23:11:10 UTC 2006


On Tue, 2006-02-21 at 16:39, James Pifer wrote:
> I just finished rsyncing a bunch of data to another drive. I'm doing
> this for backup purposes so I'll run it every night. After it finished I
> realized it went one directory level too deep. So I moved the data to
> the correct level and adjusted the rsync command. But now it want to
> recopy everything. Here's the rsync command I used:
> rsync -turv0 --progress --delete /media/160GBUSBDSK/data /mnt/USBbkup-
> storage
> 
> What option should I use to get rsync to get it to update without
> wanting to re-copy everything? I'm looking at rsync --help, but not sure
> what options I should use. 

It should not copy existing, matching files.  However if you
use -t and the timestamp doesn't match exactly it will fix
it and mention the filename because of the -v option even
though it did not copy the file again.

-- 
  Les Mikesell
   lesmikesell at gmail.com





More information about the fedora-list mailing list