Dynamically determined include/exclude list.

Dave Mielke dave at mielke.cc
Thu Nov 10 21:15:40 GMT 2005

[quoted lines by Wayne Davison on 2005/11/10 at 12:09 -0800]

>In the CVS version of rsync, you could specify a "pre-xfer exec" command
>that could run anything you like (such as find).  

Does this then write the output of, say, find to a file which is picked up
later (during the transfer) by something like "include from"?

>However, the only way
>that could affect what gets included/excluded in the already-started
>transfer would be for you to use per-directory filter files.  For
>example, if you have this filter rule in your config file:

What I'm looking for is the ability to only transfer files which meet a certain
set of criteria, e.g. only files which are owned by a certain user.

Dave Mielke           | 2213 Fox Crescent | I believe that the Bible is the
Phone: 1-613-726-0014 | Ottawa, Ontario   | Word of God. Please contact me
EMail: dave at mielke.cc | Canada  K2A 1H7   | if you're concerned about Hell.
http://FamilyRadio.com/                   | http://Mielke.cc/bible/

More information about the rsync mailing list