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