--exclude and --delete-exclude problem

Dave Dykstra dwd at drdykstra.us
Thu Jan 9 20:01:02 EST 2003

On Thu, Jan 09, 2003 at 01:20:08AM -0400, Carlos Molina wrote:
> Hi.
> I'm trying to accomplish the following ;
> 1) First, I did a rsync for a file, like this
> /usr/bin/rsync -lptgoD --delete --rsh=/usr/bin/ssh -R --delete-excluded 
> -vv root at* /tmp/localhost/daily.0

Remove the '*'.  In order for rsync to delete a file, it needs to deal
with the directory that the files are in and the '*' tells it to only
deal with the files in the directory.

- Dave Dykstra

More information about the rsync mailing list