On Thu 14 Apr 2005, Jon Essen-Moller wrote:
> 
> After I have removed some files from the backup computer with the command
> 
> find /home/user/.Maildir/.Spam/* -mtime +30 -type f -exec rm "{}" \;
> 
> does the command:
> 
> rsync -av -e "ssh -l root" host:/home/* /home
> 
> create many duplicates.

Does it create those duplicates in the /home/user/.Maildir/.Spam/
directory, or elsewhere?

BTW, I'd use:
    rsync -av -e "ssh -l root" host:/home/ /home

Let rsync take care of the recursion, as you've given it the -a option.

> What I expect is for it to just  "restore" the backup to what it was 
> like before.

So would I, so I'd be interested in seeing what files are duplicated
where.


Paul Slootman
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to