Link to home
Start Free TrialLog in
Avatar of Jonathan Mori
Jonathan MoriFlag for United States of America

asked on

Looking for a way to quickly "zip" files from multiple folders

I do a weekly task that has been very tedious and I was looking for a way to maybe make it more efficient. I work in the GIS Field and there is a folder that we get updates from an outside contractor. I was tasked with updating our cloud mapping application but the only way it takes updates is to upload zip files of the "shapefiles." Up to now I have had to go into each individual folder and archive each component of the shape file folder by folder. I was wondering if there was a way where I can run a tool or a script that would automatically zip all the folder contents using the filename of the shapefile. I posted images that will hopefully clear up what I am trying to accomplish.
User generated imageUser generated image
SOLUTION
Avatar of Eirman
Eirman
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jonathan Mori

ASKER

I apologize if I didn't give enough info.
The result I need is demonstrated by the second image. The "Shapefile" consists of 4 of the components, the .shp, .prj, .shx, and .dbf. The archive file in the image is just what I was trying to accomplish.
Each one of the folders in the first image contains those 4 components of the "shapefile" and I need an archive of those 4 components in a zip file for each folder. It is hard to explain but I hope that helps.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Multiple workable solutions were posted. I suggest an even split between the experts
John Hurst ID: 41742717
NVIT ID: 41742851
Eirman ID: 41743137
Bill Prew ID: 41743185
As suggested by experts
Sorry for the delay, I used a combination of the WinRAR approach and the BAT Script. Also got some help from this program. http://www.bulkrenameutility.co.uk/Main_Intro.php
Bulk Rename Utility