mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-11-11 14:56:10 +03:00
16 lines
235 B
Bash
Executable File
16 lines
235 B
Bash
Executable File
#!/usr/bin/bash
|
|
|
|
cd $1
|
|
|
|
#convert ogg to .mp3 files for iOS
|
|
for i in *.ogg; do
|
|
echo $i
|
|
ffmpeg -i "$i" "OUT_${i%.*}.mp3"
|
|
done
|
|
|
|
find . -type f ! -name "OUT_*" -delete
|
|
|
|
for file in OUT_*; do mv "$file" "${file#OUT_}"; done;
|
|
|
|
cd ../../
|