Skip to content

Instantly share code, notes, and snippets.

@fiskhandlarn
Last active April 13, 2020 19:08
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 fiskhandlarn/f22dc80d9f5feb5bf96334ed217053e8 to your computer and use it in GitHub Desktop.
Save fiskhandlarn/f22dc80d9f5feb5bf96334ed217053e8 to your computer and use it in GitHub Desktop.
#!/bin/bash
for f in "$@"
do
echo "Processing $f file..."
ffmpeg -i "$f" -af aformat=s16:44100 "${f%.*}".flac
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment