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

Exclusions list? #43

Open
ghost opened this issue Jan 21, 2018 · 2 comments
Open

Exclusions list? #43

ghost opened this issue Jan 21, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Jan 21, 2018

Hi, I could not find a way to exclude specific paths, the -Filter parameter is inclusive, not exclusive. Is there an approach for doing it?

Thanks

@thoemmi
Copy link
Owner

thoemmi commented Jan 23, 2018

Hi John, no, not at the moment. I wrote the cmdlet to compress entire folders and never had the need to exclude certain files.
However, a PR would be welcome.

@MaikelvanGorkom
Copy link

Maybe not the easiest way to overcome this issue is to do a get-childitem list and loop through the files and exclude the maps/files you don't want to archive? Or even exclude them at the get-childitem list.

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

No branches or pull requests

2 participants