Skip to main content
Question

How to zip archive only .dwg files from folders and subfolders?


bilal
Contributor
Forum|alt.badge.img+4
  • Contributor

I want to create multiple zip files of folders and sub folders but only want it to include AutoCAD drawing files, not any other files that may be in the folders and subfolders.

I have tried the ziparchiver which is very nice but it zips all files.

Any help would be greatfully appreciated.

4 replies

redgeographics
Celebrity
Forum|alt.badge.img+50

I've used a SystemCaller to call the 7zip command line executable and perform actions on zip files that way. It's a bit more work that way but it gives you more control.


virtualcitymatt
Celebrity
Forum|alt.badge.img+38
redgeographics wrote:

I've used a SystemCaller to call the 7zip command line executable and perform actions on zip files that way. It's a bit more work that way but it gives you more control.

nice idea.


redgeographics
Celebrity
Forum|alt.badge.img+50
virtualcitymatt wrote:

nice idea.

Yeah, I had a recent job with almost 200 zip files, for each one I needed to delete one of the files in there and put another one back. So a couple of SystemCallers did the trick. I forgot how long it took in all, but it was in the "few minutes" range.


bilal
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • April 17, 2020

Thank you for the suggestions. I'll try exploring that option.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings