7Zip4Powershell
7Zip4Powershell copied to clipboard
Exclusions list?
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
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.
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.