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

Add wildcard support to .bsync-ignore #55

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jashort
Copy link
Contributor

@jashort jashort commented Jul 18, 2023

Adds comment and wildcard support to the .bsync-ignore file. Wildcard support is via fnmatch

The current format of .bsync-ignore should still work as well, but please double check the test I added.

I've been using this for a few weeks on both MacOS and Fedora Linux and it's been working as expected.

@dooblem
Copy link
Owner

dooblem commented Jul 24, 2023

Hello,
Thanks for the PR.
With the actual prefix exclude, when you exclude a directory, all the files in it are excluded as well.

But with a wildcard exclude, you can exclude a directory, but not the files in it.

I want to be sure there's not any problem if you exclude a directory, but not the files inside it.

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.

2 participants