How do handle multi word files in a 'for' loop?
by sofasurfer from LinuxQuestions.org on (#5MWV9)
I know how to use parentheses in a ffmpeg command to increase volume on a multi word filename..
Code: $ ffmpeg -i "file.mp3" -filter:a "volume=4" "new file".mp3But when it is inside of a loop where do I put the parentheses? Or do I have to edit all the filenames?
Code: $ for f in *.mp3; do ffmpeg -i $f -filter:a "volume=4.5" louder/$f; doneI can't get it to read the names without failing.
Code: $ ffmpeg -i "file.mp3" -filter:a "volume=4" "new file".mp3But when it is inside of a loop where do I put the parentheses? Or do I have to edit all the filenames?
Code: $ for f in *.mp3; do ffmpeg -i $f -filter:a "volume=4.5" louder/$f; doneI can't get it to read the names without failing.