Help - Search - Members - Calendar
Full Version: Script to convert FLAC files from dir to dir wanted
Hydrogenaudio Forums > Lossless Audio Compression > FLAC
MiD30s
Hello.

I was looking for a script that would RE-ENCODE, for example, 20 FLAC files (1.1.4) that are under a given directory/drive, to ANOTHER given location, using the newest flac.exe (1.2.1), like a batch re-encoding process.

I would like to have it as Windows/.BAT _AND_ Linux bash shell script.

For example:

C:\>CD D:\JARRE\AERO

D:\>FLACITNEW.BAT

Enter new output directory and press [ENTER]:
C:\AERO

Re-encoding the FLAC files...
Done.


(Now all new flawlessly re-encoded files reside in C:\AERO)
Jalan
Search results, going under the guess that you didn't explore that route (although you likely already have) -

Reflacer

Synthetic Soul's batch file

and this...

likely none are what you're looking for exactly. <_<
MiD30s
the flac command line is pretty easy...
I am just missing the function which waits for the string prompt and will take that string and create a directory with it... reflacer isn't what I'm looking for since it's VBS, SS's batch file is OK but too many features like veryfing/temp list, etc.
smok3
try

CODE
@ echo off
set /p somedir= What is your dir?
echo %somedir%


MiD30s
thanks smoke3! that with --output-prefix in flac.exe should do!!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.