rsync not honoring excludes
Wade Preston Shearer
lists at wadeshearer.com
Wed Nov 14 23:09:46 MST 2007
I have an rsync command in one script that works. I have another that
is set up the same way in another script that doesn't. Can anyone see
anything wrong with this?
rsync -auczve ssh --delete --stats --exclude-from=/path/to/
exclude_file /path/to/something/ secret.remote.server:/path/to/
The contents of the excludes file:
The include/exclude rules are such that all only the file "subdirA/
subdirB/file.txt" should be rsync'd.
(The logic is: exclude all ".svn" files, include all other directories
so that the directories leading up to the one file will be available,
include the one file, exclude everything else.)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2425 bytes
Desc: not available
Url : http://plug.org/pipermail/plug/attachments/20071114/14ed0dc7/attachment.bin
More information about the PLUG