possible bug with exclude/exclude-from

Tobias Roth roth at iam.unibe.ch
Tue May 11 09:51:32 GMT 2004


Hi

While trying to back up my homedir, i found what looks like a bug:

from /home, i do:

rsync -CWavP --delete --delete-excluded \ 
             --exclude=".phoenix/default/*/Cache/" \
             --exclude-from=rsync-excludes \
             myusername/ targetserver:/backup/myusername/

rsync-excludes contains (without [] lines):
[start]
#comment

**.xvpics**
*.swp
[end]


This works as expected, the phoenix cache dir is excluded, xvpics and .swp
files as well. Now, if i try the the same except the .phoenix stuff moved
to the exclude file:

rsync -CWavP --delete --delete-excluded \ 
             --exclude-from=rsync-excludes \
             myusername/ targetserver:/backup/roth/

rsync-excludes now contains (again without []):
[start]
#comment

.phoenix/default/*/Cache/
**.xvpics**
*.swp
[end]


This way, the phoenix cache dir gets transfered. The other two excludes still
work fine.
rsync version is: rsync  version 2.6.2  protocol version 28

I can provide more details if needed.

greets, t.


More information about the rsync mailing list