Skip to content

Instantly share code, notes, and snippets.

@mateusz-fiolka
Created August 5, 2014 19:17
Show Gist options
  • Save mateusz-fiolka/5115b43a34b18cad56f2 to your computer and use it in GitHub Desktop.
Save mateusz-fiolka/5115b43a34b18cad56f2 to your computer and use it in GitHub Desktop.
find . -iname '*.flv' | while read FILE ; do
TARGET_FILE=$(echo $FILE | sed -e 's/.flv$/.mp4/')
ffmpeg -i $FILE $TARGET_FILE || echo ok
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment