diff --git a/batch-convert.sh b/batch-convert.sh new file mode 100755 index 0000000..55b6b9f --- /dev/null +++ b/batch-convert.sh @@ -0,0 +1,4 @@ +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 +