rsync --delete broken?

Drew Bertola drew at drewb.com
Wed Oct 4 02:58:12 UTC 2006


Steven Haigh wrote:
> Hi all,
>
> I've been trying to figure this out for a while, but haven't had much
> success.
>
> I'm wanting to backup a few directories on a server to another machine
> and I'm using:
>
> rsync -vaz --delete user at host:/path /path

Well, maybe you're aware of this, but it should be:

rsync -vaz --delete host:/path1/path2 /path1/

When you leave the trailing slash off of the src directory, that
subdirectory is included in the rsync'ing - if you know what I mean.

--
Drew




More information about the fedora-test-list mailing list