wildcard error in source path?
Stuart Halliday
StuartH at ecs-tech.com
Fri Jun 18 08:50:22 GMT 2004
> Logically, this is correct behaviour, I think.
>
> dump/* is a wildcard that matches every _existing_ local file in the
> dump/ directory. Since the file you deleted doesn't exist, it isn't
> considered by rsync.
>
> dump/ tells rsync to compare the contents of the local dump/ directory
> with those of the remote one and, in your case, will delete on the
> remote host any files that don't exist locally.
>
> Disclaimer: I haven't used --delete myself, so I could be wrong.
Yes your statement sounds logic. But the use of --delete is stated as being:
"delete files that don't exist on the sending side"
Which I assume means those on the remote side.
Since it isn't deleting the file on the remote side then rsync is a touch broken.
More information about the rsync
mailing list