This commit is contained in:
Josh Ashton
2024-02-12 10:17:44 -07:00
parent c346c1d3f1
commit d2f297862e
6 changed files with 0 additions and 363 deletions
-16
View File
@@ -1,16 +0,0 @@
#!/bin/zsh
TARGET=$1
if [[ -e $TARGET.mkv ]]; then
ffmpeg -i $TARGET.mkv -n $TARGET.mp3
rm $TARGET.mkv
elif [[ -e $TARGET.webm ]]; then
ffmpeg -i $TARGET.webm -n $TARGET.mp3
rm $TARGET.webm
elif [[ -e $TARGET.mp4 ]]; then
ffmpeg -i $TARGET.mp4 -n $TARGET.mp3
rm $TARGET.mp4
else
echo "file not found"
fi