1

Kim Wittenburg
2020-06-27 21:02:27 +00:00
parent 81e50019c2
commit 967fea66ef

15
Audioconvert.md Normal file

@@ -0,0 +1,15 @@
The following script is able to batch-convert audio files to the `m4a` format.
```shell
#!/usr/bin/env sh
for file in "$@"; do
target="${file%.*}.m4a"
if ffmpeg -i "$file" -vn "$target"; then
rm "$file"
else
echo "Could not convert $file"
exit 1
fi
done
```