Reputation: 23
I try to use file filter and directory filter to choose specified files and folders , but the files in sub folder are affected by file filter .
Example :
file filter : @"//1.txt$;2.txt$"
directory filter : @"//sub$"
Only 1.txt
& 2.txt
were compressed in sub
folder , and i want all the files in sub
folder compressed.
Upvotes: 1
Views: 1195
Reputation: 339
I assume that fastzip means the one class of SharpZipLib. According to the documentation https://github.com/icsharpcode/SharpZipLib/wiki/FastZip the parameter for fileFilter is optional. If null is passed, all files in the specified folder should be compressed
Upvotes: 1