--delete not working - due to 200+G of files?

Fabian Cenedese Cenedese at indel.ch
Wed Dec 5 07:43:24 GMT 2007


At 12:54 04.12.2007 -0800, Wayne Davison wrote:
>On Thu, Nov 22, 2007 at 04:01:29PM -0500, Eric Praetzel wrote:
>> ssh Solaris_box "cd /home;rsync -az --force --delete * Centos_Box::remote_mach"
>> ssh Solaris_box "rsync -az --force --delete /home Centos_Box::remote_mach"
>
>Those are two very different things -- the first copies items from
>inside the /home dir (and usually only non-dot names), and the latter
>copies the /home directory itself, which will put all the copied items
>an extra level deep (you probably wanted a trailing slash after /home).

But then rsync won't delete folders that disappeared in /home, like
/home/someuser. This gets only deleted if rsync starts a level above, right?

bye  Fabi




More information about the rsync mailing list