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

Is it possible to ignore directories? #41

Open
SirYaro opened this issue Nov 5, 2022 · 1 comment
Open

Is it possible to ignore directories? #41

SirYaro opened this issue Nov 5, 2022 · 1 comment

Comments

@SirYaro
Copy link

SirYaro commented Nov 5, 2022

Hi
Is there a way to ignore certain directories? I'm trying to skip all .something dirs (and theirs content), but fnfilter switch seems to apply only to files (or using it wrong). Even though, dirs technically are also files... :P

@SirYaro SirYaro changed the title Ignoring directories? Is it possible to ignore directories? Nov 5, 2022
@trapexit
Copy link
Owner

trapexit commented Nov 5, 2022

The regex applies to the whole path.

https://github.com/trapexit/scorch/blob/master/scorch#L110

If you want to skip all paths with .something in it you need to provide a regex like

.*/\.something/.*

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

No branches or pull requests

2 participants