rsync -rcv printing out filenames when content identical

Wayne Davison wayned at samba.org
Tue Jan 25 20:30:56 MST 2011


On Sat, Jan 22, 2011 at 10:21 AM, Mikolaj Kucharski
<mikolaj at kucharski.name>wrote:

> $ rsync -rcv --delete backup/ mail/


Unless the "backup" dir only contains files that came from inside the mail
dir, you need to specify what source inside the backup you want to copy.
 Like one of these:

rsync -rcv --del backup/mail/ mail/
rsync -rcv --del backup/mail .

In the former, the contents of the mail dir are put into the mail dir.  In
the latter, the mail dir is copied, along with its contents into the current
dir (for "mail") and its subdirs.

..wayne..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20110125/32c71384/attachment.html>


More information about the rsync mailing list