Zip Roms

Creates One Zip Archive for Each Rom File

Simply fill in the parameters and run the ".sh" script

FILE_EXT=".nes"
IN_FILES="/home/crow/NAS/RomProject/temp/roms/*$FILE_EXT"
OUT_DIR="/home/crow/NAS/RomProject/temp/roms/"

for f in $IN_FILES
do
  base_name=$(basename "$f" $FILE_EXT)
  7za a -tzip "$OUT_DIR$base_name.zip" "$f" -mx9
done
My Keybase Page: https://keybase.io/benjamichaelson Follow Me!