Please forgive/enlighten me id this is achievable already I didn't see it as apparent looking at the usage. Purpose: To allow dest file system to benefit from newer files on a src on a weekly basis for example, without re-syncing all the junk deleted on the target since the last sync. Eg. --since 09112001 --before 09112001 Probably some system date format -/+ int would work as the date unit, or possibly with something even smarter to allow -7 for 7 days ago,etc etc etc
Rsync doesn't seem to have options to filter by date. The options might be a nice addition, but in the meantime, you can set up just about any kind of filter you want by piping `find' output to rsync with `--files-from=-'.
I don't tend to favor a bunch of separate options for this. It seems like there should be one option that would let some other filter language tell rsync if the file was accepted or not (and deprecate the min/max size options). Perhaps tie it into the --filter language as a single new rule type. However, there are security issues for daemons, so we need to design this carefully. Suggestions welcomed.
(In reply to comment #2) > I don't tend to favor a bunch of separate options for this. It seems like > there should be one option that would let some other filter language tell rsync > if the file was accepted or not (and deprecate the min/max size options). > Perhaps tie it into the --filter language as a single new rule type. However, > there are security issues for daemons, so we need to design this carefully. > Suggestions welcomed. I am thinking along the same lines as Wayne and made suggestions on bug 2423.
This bug is essentially the same as bug 2423. Wayne, I suggest making this bug a duplicate of bug 2423 or vice versa.
*** This bug has been marked as a duplicate of 2423 ***