Displaying 1 result from an estimated 1 matches for "c54aa0c3".
2017 Oct 26
1
Yet another filter question
Given the structure…
/foo/bar/want-this.txt
/foo/bar/want-this-2.txt
/bar/foo/
/do-not-want-to-transfer/test.txt
With the desire to ‘include items with foo in their path’...
I understand that the closest I can get to a satisfactory filter ruleset is
something like:
+ **foo**
+ */
- *
… and setting --prune-empty-dirs.
However, /bar/foo/ is empty, and of course should be copied.. but is pruned.