-
Create Bash Script named “Rewrap.MXF.sh” to do Batch FFmpeg Processing
+
Create Bash Script named “Rewrap-MXF.sh” to do Batch FFmpeg Processing
for f in *.MXF; do ffmpeg -i "$f" -map 0 -c copy "${f%.MXF}.mov"; done
Re-wrap .MFX files in a specified directory to .mov files by using this code within a .sh file. The shell script (.sh file) and all MXF files must be contained in the same directory, and the script must be run from the directory itself (cd ~/Desktop/MXF_file_directory). Execute .sh file with the command sh Rewrap-MXF.sh