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 -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html