Skip to content

Instantly share code, notes, and snippets.

@mark4409
Created October 23, 2023 08:57
Show Gist options
  • Save mark4409/dc7f48ea671f9448c01ce1b10d9bfa0a to your computer and use it in GitHub Desktop.
Save mark4409/dc7f48ea671f9448c01ce1b10d9bfa0a to your computer and use it in GitHub Desktop.
Batch convert all iso files in current directory to cso
#!/bin/bash
# Grab .iso file
for f in ./*.iso
do
name=${f%.iso} # Remove '.iso' from file name
ciso 6 "$name.iso" "$name.cso"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment