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

Idea: additional options for file search #14

Open
swarajban opened this issue Jan 13, 2023 · 1 comment
Open

Idea: additional options for file search #14

swarajban opened this issue Jan 13, 2023 · 1 comment

Comments

@swarajban
Copy link

Very helpful tool, for compliance reasons, we built a similar (but worse) tool internally to do this. We run this tool on people's local workstations to detect PII at regular intervals.

For us, it would be very helpful to have the following additional config options when searching for files

  • include/exclude file types
  • exclude certain subdirectories (we want to run on Macos with directory /Users/, but want to exclude mounted drives like for remote MSFT files that could be mounted at /Users//OneDrive)
@ankane ankane mentioned this issue Jan 13, 2023
8 tasks
@ankane
Copy link
Owner

ankane commented Jan 13, 2023

Hey @swarajban, thanks for the suggestion! We could probably add --include and --exclude options for this.

pdscan file:///Users --exclude OneDrive --exclude "*.pdf"

I'm not sure when I'll have time to look at it, but I've added it to the plan.

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