7-zip automation
Posted: Wed Nov 14, 2012 9:05 pm
Looking to do some compacting of data. Basically what I'm looking for is some lines of code I can throw into a batch file to compress some folders. The input would be the folder name (manually typed is fine). The result of running the script is that the folder would be compressed to a zip file and then the original folder deleted. The tricky part is that I need it to perform some sort of verification that all the contents of the folder were successfully put into the zip file prior to deletion. I don't see a flag for doing this in 1 step within the 7-zip command flags. I also am not sure what the best way to the verification.
I'm open to using another program to do thus, but in-place usage without installation is preferable.
I'm open to using another program to do thus, but in-place usage without installation is preferable.