diff --git a/batch-convert.sh b/batch-convert.sh index 55b6b9f..50d14c1 100755 --- a/batch-convert.sh +++ b/batch-convert.sh @@ -1,3 +1,5 @@ +#!/bin/bash + find . -maxdepth 1 -name "*.mov" -print0 | sed 's/\.mov\x00/\x00/g' | xargs -r0 -I FILENAME ffmpeg -i FILENAME.mov -vcodec copy -acodec copy FILENAME.mp4