Re: rsync --delete broken?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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

-- 
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]