I'd like to convert a couple thousand zip files to 7z, with maximum compression and multithreading enabled.
Also in another place. Like c:\temp\file.zip to f:\converted\file.7z
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
You can use
arepack (included in
atool command suite) to convert between archive formats. Combined with a little bash, it makes easy to convert a bunch of ZIP files to 7z:
for f in *.zip; do arepack $f $f.7z; done rm *.zip
Nevermind, http://www.peazip.org/ does the job just fine!
Edit: But hell, it takes way too long....
I wrote a script in Python - https://raw.github.com/pashinin/scripts/master/zip27z.py You can run it with:
and it will create your_archive.7z near it.
Or you can install it on your system with
make install (if you see the repo)
And just call:
You can modify it as you wish for your needs (and send me a pull request)