FFmpeg loop through .mp4 files in a folder using bash Posted on 15/08/202105/08/2021by justCuriousSave it as loopThrough.sh and run with it! Copy Code Copied Use a different Browser for f in *.mp4;do ffmpeg -i "$f" -c copy "${f%mp4}.mp4";done