On Friday 25 November 2005 22:44, Joseph wrote: > How to make "--delete" work with rsync over ssh?
By telling rsync to delete. > When I do "rsync" I want it to delete files on destination if they are > not present on source: > > example: > rsync -av ssh --delete source/ > [EMAIL PROTECTED]:/home/joseph/destination > I get: > building file list ... link_stat "/home/joseph/ssh" failed: No such file > or directory Yep, that's exactly what you should see. You've told rsync to copy ssh and source to [EMAIL PROTECTED]:/home/joseph/destination rsync has defaulted to ssh for ages now, but to force it you have to specify the remote shell. -- Mike Williams -- gentoo-user@gentoo.org mailing list