Skip to content

Instantly share code, notes, and snippets.

@BenMcLean
Last active July 30, 2022 20:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BenMcLean/9439333774f856b8ec137c34e3d9055c to your computer and use it in GitHub Desktop.
Save BenMcLean/9439333774f856b8ec137c34e3d9055c to your computer and use it in GitHub Desktop.
Bulk compress PSP ISOs to CSOs using https://github.com/sindastra/psp-mciso
#!/bin/bash
IFS='
'
for f in *.iso; do
if ./mciso-i386.linux 9 "$f" "$(basename -s .iso "$f").cso"; then
rm $f
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment