Skip to content

Instantly share code, notes, and snippets.

@giansegato
Created September 4, 2020 15:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save giansegato/8dedcdeea41367a52cd8f0ff3f132204 to your computer and use it in GitHub Desktop.
Save giansegato/8dedcdeea41367a52cd8f0ff3f132204 to your computer and use it in GitHub Desktop.
mp4 → mp3
#!/bin/sh
for f in *.mp4; do
echo "Processing $f"
mkdir -p output;
ffmpeg -i "$f" "output/${f%}.mp3"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment