On Wed, 2007-11-14 at 23:09 -0700, Wade Preston Shearer wrote: > 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 > - *
Do you really have a "-" and "+" in the file? That won't work. The file is just a list of files to be included. You must specify the includes elsewhere. Corey /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */
