Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # extract wii roms and rename directory for Homebrew USB Loader GX
- # extract rom from 7z and if successful remove 7z file
- for i in *.7z;do 7z x $i && rm "$i";done
- # find rom files
- find -name "*.wbfs"|while read f;
- do
- # Get original Dir name
- d="$(dirname $f)";
- # Get Game ID
- id="$(basename $f|sed 's/.wbfs//g')";
- # Rename Dir to contain ID in format for USB LOADER GX
- mv "$d" "$d [$id]";
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement