Created
October 23, 2023 08:57
-
-
Save mark4409/dc7f48ea671f9448c01ce1b10d9bfa0a to your computer and use it in GitHub Desktop.
Batch convert all iso files in current directory to cso
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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