From 5017bfda66fc2a0172d14de59d8a21b02395434a Mon Sep 17 00:00:00 2001 From: mollusk Date: Mon, 4 Sep 2017 00:32:40 -0700 Subject: [PATCH] New Script: batch-convert.sh --- batch-convert.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 batch-convert.sh 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 +