diff --git a/removeaudio b/removeaudio new file mode 100755 index 0000000..2cf917c --- /dev/null +++ b/removeaudio @@ -0,0 +1,14 @@ +#!/bin/bash + +set -eu + +if [ "$#" -ne 1 ]; then + echo "USAGE: $0 FILE" + exit 1 +fi + +fullpath="$1" +source fileextensions + +cd "$dir" +ffmpeg -i "$filename.$extension" -c copy -an "$filename""_noaudio.$extension"