20 May
2009
20 May
'09
00:18
On Tue, 19 May 2009 17:11:00 -0700, James D. Parra wrote:
Hello,
Using rsync to copy data, however I can't find the correct syntax to delete files on target server if they are no longer on the source server. Using;
rsync -rpvougtnR --delete /data/ user@remote_server:/data/
I use rsync -avz --progress --delete source:/path/ /path I'm usually pulling from a remote server to local instead of the other way around - but I've found that the trailing slash is significant (as is the lack of it on the destination). Jim -- Jim Henderson Please keep on-topic replies on the list so everyone benefits -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org