How to transcode a directory of video files Oct 2, 2021 • dennislibre mkdir transcoded for file in *; do ffmpeg -i "$file" "./transcoded/${file}".mp4; done