• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Automated File to move files from inside zipped files. Is it possible?

JohnnyMCE

Member
So I have been trying to wrap my head around a concept that I am not sure if it will work. I was thinking batch file but I am open to just about language as long as it can be automated to run at a certain time.

Each night I have a set of 8 files that are placed in 8 separate folders in 8 separate zip files on a single shared drive. My goal is to create a program that will run at a certain time that goes into each of those folders and into the zip file and copies out the newest file to a specific location.

Is this even possible and if it is can somebody lead me in the right direction of how to start.
 
I think a batch file and the command line options to a program like WinZip or WinRar is probably all you need for this.
 
Windows ships with a CLI unzipping program (unzip). If you are using standardly compressed zip files, then it is very doable. (the simplest method would probably be to unzip the file, find the newest, and rezip it, or something along those lines)

Linux has its own zipping utilities that should work as well, they are called from the tar program.
 
Each night I have a set of 8 files that are placed in 8 separate folders in 8 separate zip files on a single shared drive. My goal is to create a program that will run at a certain time that goes into each of those folders and into the zip file and copies out the newest file to a specific location.

Wouldn't a revision control system work better? Then you can just checkout the latest version at the time you want.
 
Back
Top