<br>Hello all,<br><br>In the INCLUDE/EXCLUDE PATTERN RULES section of the rsync man page I read that "the exclude patterns actually short-circuit the directory traversal stage when rsync finds the files to send" wich is actually the behaviour I expect.<br>
But it seems that rsync actually descend through all section of the hierarchy of some folders I excluded.<br><br>The command I used :<br>$ rsync -aH --del --ignore-errors --filter="- /lost+found/*" --filter="- /.snapshot/*" /data/orig_disks/vol-opt/ /data/bckp_disks/vol-opt/<br>
<br>The problem :<br>$ lsof | grep rsync | grep snapshot<br>rsync 1599 root 3r DIR 0,25 12288 12117707 /data/orig_disks/vol-opt/opt/.snapshot/some/directory/somefile<br><br>rsync does not transfer files from this directory as expected, but it take hours to visit it...<br>
<br>OS : Debian GNU/Linux Squeeze 6.0 amd64<br>rsync version : rsync version 3.0.7 protocol version 30<br><br>I don't know if it's a bug, an error in the man page, or just me :-)<br><br>Thank you,<br>jC<br><br>