can a .rsync-filter improve performance?

Mike Connell mikefconnell at
Tue Oct 6 00:08:39 MDT 2009


I know certain subtrees I want to backup are written once
and never deleted.

So to reduce the time it takes rsync to run, I was thinking
of putting the following .rsync-filter in each of these subtrees:

P /**

I can see this stops the files on the receiver side from being 

Does this filter also improve performance?

It looks like it does. If I do a manual test and delete
a file in this subtree on the sender side, when I look at the output
from the "building file list", it does  not show the deleted file.

So will this help improve performance (time it takes to build file list and
time it takes to update receiver)?

Is there a better way to prune, when you have subtrees that are 
only written once and you don't need rsync to keep visiting these


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the rsync mailing list