wildcard error in source path?

Stuart Halliday StuartH at ecs-tech.com
Thu Jun 17 11:00:15 GMT 2004


If I use :

rsync --delete -va dump/* remote::home

to mirror a local directory containing several files to a remote server then these are copied as expected.

However, if I delete a file in 'dump' and do the command again then this file in 'remote' is NOT deleted.

But this works:

rsync --delete -va dump/ remote::home

ie, the file on the server is deleted.

Is this a bug or are we not to use wildcards at the end of a source path?

-- 
Stuart Halliday
ECS Technology ltd
Registered in Scotland - #212513 



More information about the rsync mailing list