rsync not honoring excludes
Corey Edwards
tensai at zmonkey.org
Thu Nov 15 08:37:57 MST 2007
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
More information about the PLUG
mailing list