7Zip4Powershell icon indicating copy to clipboard operation
7Zip4Powershell copied to clipboard

Exclusions list?

Open ghost opened this issue 8 years ago • 2 comments

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

ghost avatar Jan 21 '18 12:01 ghost

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.

thoemmi avatar Jan 23 '18 09:01 thoemmi

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.

MaikelvanGorkom avatar Jan 24 '18 21:01 MaikelvanGorkom