Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Honor .rsync-filter files #86

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TylerRick
Copy link

@TylerRick TylerRick commented Sep 27, 2023

Auto-add --filter='dir-merge /.rsync-filter' (which is also available with -F) so users don't have to go out of their way to manually add that option:

       -F     The -F option is a shorthand for adding two --filter rules to your command.  The first time it is used is a shorthand for this rule:

                  --filter='dir-merge /.rsync-filter'

              This tells rsync to look for per-directory .rsync-filter files that have been sprinkled through the hierarchy and use their rules to filter the files in the transfer. 

This in turn makes it easier for users to exclude problematic files (#71) simply by adding a file with - problem_file.

See also #64 and #84 for where this would be useful.

(add --filter='dir-merge /.rsync-filter', which is also available with -F)
@MrAMS
Copy link

MrAMS commented May 14, 2024

Helpful idea 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants