Looking for a way execute a task on all files in a directory (recursively) on Windows
- by stzzz1
I have a huge number of mp4 video files that needs to have a volume boost. I need a way to execute a ffmpeg audio filter on all files in a specified base directory (and in subdirectories as well). My problem is that I'm working on a Windows computer and I have no knowledge of its shell syntax.
I would like to do the equivalent of what this bash script does :
TARGET_FILES=$(find /path/to/dir -type f -name *.mp4)
for f in $TARGET_FILES
do
ffmpeg -i $f -af 'volume=4.0' output.$f
done
I spent quite some time this afternoon looking for a solution but the recursive nature of what I need (that is so simple with find!) isn't too clear.
Any help would be greatly appreciated!