added format, removed no longer needed script
parent
1cc33a4f35
commit
3bfaedfb52
@ -1,4 +1,4 @@
|
||||
#!/bin/dash
|
||||
# Convert directories and subdirectories from other audio formats to opus
|
||||
# Public domain, you probably couldn't even copyright a script this short
|
||||
find ./ -type f \( -iname \*.flac -o -iname \*.mp3 -o -iname \*.ogg -o -iname \*.m4a \) -exec sh -c 'i="{}"; ffmpeg -y -i "$i" "${i%.*}.opus" && rm -f "$i"' \;
|
||||
find ./ -type f \( -iname \*.flac -o -iname \*.mp3 -o -iname \*.ogg -o -iname \*.m4a -o -iname \*.wav \) -exec sh -c 'i="{}"; ffmpeg -y -i "$i" "${i%.*}.opus" && rm -f "$i"' \;
|
||||
|
||||
Loading…
Reference in New Issue