MLUG: Re: [MLUG] rsync delete
Re: [MLUG] rsync delete
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On Tue, Mar 04, 2003 at 12:04:21PM -0500, Sven Conrad wrote:
> Hi everybody
> 
> I have a wired problem with rsync. 
> ( I use a tunnel trough ssh, one side runs as daemon the other client. I sync 
> one folder from server to client and another one from client to server)
> 
> The Problem is, that the --delete option is working only in one direction, 
> from server to client. The folder on server side does not delete obsolete 
> files (but generates new files, no problem)
> 
> Any ideas?
> 

Dredged this up from groups.google.com -- could this be it?

>On Tue, 23 Jul 2002, g dm wrote:
>> rsync -a --delete * /data/exp_dir
>> So, what did I do wrong?

>You're sending a list of files, not a directory (since '*' is expanded
>by the shell into a list of files).  The --delete option only works on
>a directory-to-directory transfer, so try using this instead:

>rsync -a --delete ./ /data/exp_dir

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&EMAIL:PROTECTED


-- 
Michael Procter
EMAIL:PROTECTED
_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members