Skip to content

Instantly share code, notes, and snippets.

@hvariant
Created March 2, 2017 05:22
Show Gist options
  • Select an option

  • Save hvariant/69bd1ad3ad08f0724d320f2ec7599d5d to your computer and use it in GitHub Desktop.

Select an option

Save hvariant/69bd1ad3ad08f0724d320f2ec7599d5d to your computer and use it in GitHub Desktop.
#!/bin/bash
for i in $1/*.webm;
do name=`echo $i | cut -d'.' -f1`;
echo $name;
ffmpeg -i $i $name.mp4;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment