Changes

Jump to navigation Jump to search

MAME

201 bytes added, 16:47, 2 June 2020
Providing an actual zip to 7z oneliner
|-
! Terminal
|Something like this should work in theoryThe following is a non-destructive one-liner to decompress and recompress your files from zip to 7z. '''It has not been testedPlease account for at least a 3:1 space requirement, proceed with cautionand about 3 seconds time per file (give or take). Keep in mind, if you have any other folders present it'll snag those too during the second step.'''
7z e (romset)for y in *.zip ; do 7z x "${y%}" -o (romset)/ *; done && for i in */; do 7z a (romset)"${i%/}".7z (romset)"./${i%}*"; done
Just After it's done, be sure to check and make sure that you've installed 7-the 7z and zip and it registers to the environment path, that youfiles're in contents match before deleting both the folder, zips and that you substitute (romset) for the name of the romset in the commandtheir extracted folders.
|}
Anonymous user

Navigation menu