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

Can't get --exclude to work #348

Open
sphengle opened this issue Oct 30, 2023 · 1 comment
Open

Can't get --exclude to work #348

sphengle opened this issue Oct 30, 2023 · 1 comment

Comments

@sphengle
Copy link

Really struggling to exclude the .git repo folders. I've tried to exclude these folders using the recommended pattern and about a dozen variations on it. I'm running on Windows.

@andreas-hilti
Copy link

@sphengle For me the following seems to work:

cyclonedx.exe add files --no-input --output-format json --exclude ".git/**" --exclude ".vs/**" --output-file test_bom.json

reports:
Processing base path [...]
Processing include pattern /
Processing exclude pattern .git/**
Processing exclude pattern .vs/**
Adding file [...]

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