On Sat, Jan 22, 2011 at 10:21 AM, Mikolaj Kucharski <miko...@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..
-- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html