Displaying 2 results from an estimated 2 matches for "del_hier_name_len".
2005 Apr 27
2
--delete option does not always work
I know that there are a million messages from newbies who cannot get
--delete to work. This message is special. :)
--delete works fine for me EXCEPT when the following two conditions are
present:
1) I am using the --relative option, and
2) the deleted file is in a subdirectory of the SRC directory.
Here is a demonstration of how to recreate this bug:
lenny@mythtv:/tmp$ rsync --version
rsync
2005 Sep 27
1
--delete and --dirs
rsync-2.6.6 manpage says:
--delete
[...]
This option has no effect unless directory recursion is enabled.
True. In fact, I noted that --delete doesn't delete anything if --dirs
is used rather than --recursive.
Is there any reason for --delete not to delete when used with --dirs?
Is there a way to get rsync to actually delete files on the receiving
end when using