directory - Running command line on multiple music files -


i using cli program called metaflac (http://flac.sourceforge.net/documentation_tools_metaflac.html) remove padding various flac music files on computer. using following command in batch file (with metaflac.exe in same folder) completes task individual file:

metaflac --dont-use-padding --remove --block-type=padding "filename.flac"

i have several thousand files , don't want manually/individually. there easy way me direct command directory , have act upon every file in there? save me lot of time.

thanks!

i using windows 7 64-bit.

sure. can one-liner cmd prompt.

for /f "delims=" %i in ('dir /s /b *.flac') metaflac --dont-use-padding --remove --block-type=padding "%i" 

if you're putting .bat script, change %i %%i in both places.


Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -