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?

The command:

rsync -auczve ssh --delete --stats --exclude-from=/path/to/ exclude_file /path/to/something/ secret.remote.server:/path/to/ something/


The contents of the excludes file:

- .svn/
+ */
+ subdirA/subdirB/file.txt
- *


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.)

Attachment: smime.p7s
Description: S/MIME cryptographic signature

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to