If you have a zip archive of files, you can easily convert it to an archive file format called 7z. To do this, open your zip file in a program like WinZip or 7-Zip. Once the file is open, go to the “Extract” tab and select “7-Zip” from the dropdown menu. 7-Zip will open and ask where you want to save the archive. You can choose to save it on your computer or send it to a friend. Once the archive is created, you can use it just like any other 7z archive. ..


So to get the best of both worlds, we have created a script which will convert your zip files into 7z files with a single command, a process we are calling “deep archiving”.

Practical Uses

So why would you need this script when you could just create 7z archives to begin with? Here are a couple reasons:

Certain applications may only produce zip format archives. Since zip compression is faster than 7z compression, you may want to quickly produce a zip file and then “deep compress” it later.

Consider this scenario:

You run an FTP site where customers upload data to you in zip format. Your users then download and use the data as needed but you want to keep these files for a while just in case you your users need them again (in which case you are a hero for having them readily available). In order to save some space, you could convert the zip archives to 7z format and stash them away.

Alternately, replace customer uploaded data from the scenario above with backed up user data (or whatever else you can think of) and you can see there are many practical applications for this.

The Script

Download DeepArchive Script from SysadminGeek.com

Download 7-Zip Command Line Tool