Converting a directory to WavPack including all subfolders, in one go |
![]() ![]() |
Converting a directory to WavPack including all subfolders, in one go |
May 8 2011, 00:59
Post
#1
|
|
|
Group: Members Posts: 1020 Joined: 4-January 09 Member No.: 65169 |
I am looking for a possibility to convert the complete content of a main folder to WavPack by starting the wavpack.exe only once. The source files are saved in subfolders of that main directory and in these subfolders I want to have saved the wv files.
Is this possible? Thank you for any hint. |
|
|
|
May 8 2011, 02:09
Post
#2
|
|
![]() WavPack Developer Group: Developer (Donating) Posts: 1220 Joined: 3-January 02 From: San Francisco CA Member No.: 900 |
Hi Robertina.
On Linux you can do something like this to convert large batches of files: CODE wavpack *.wav */*.wav */*/*.wav On Windows you can't do stuff like that because the WavPack program itself is doing the wildcard expansion. Instead though, you could use some other program to generate a list of all the actual files you want to process, then just specify that file with a '@' prepended: CODE wavpack @filelist.txt Of course, you could use the command-line batch capability to do this, but you asked about one invocation of wavpack.exe. Note that you won't be able to do any meaningful tagging this way because all files must be the same. Hope this helps... |
|
|
|
May 8 2011, 05:30
Post
#3
|
|
|
Group: Members Posts: 1020 Joined: 4-January 09 Member No.: 65169 |
I am on Windows and wavpack @filelist.txt works perfectly. The txt file I can generate easily with foobar2000.
From now on I will use wavpack -mtx @filelist.txt to convert my thousands of sample and loop files to WavPack. Thank you for providing such a great piece of software and your support. |
|
|
|
May 8 2011, 09:00
Post
#4
|
|
![]() Group: Members (Donating) Posts: 765 Joined: 12-March 05 From: Kiel, Germany Member No.: 20561 |
While at it you could use foobar2000 to convert the files without any detours with creating files. This also preserves metadata/tags if present.
-------------------- Audiophiles live in constant fear of jitter.
|
|
|
|
May 8 2011, 09:36
Post
#5
|
|
|
Group: Members Posts: 1020 Joined: 4-January 09 Member No.: 65169 |
Thank you for your tip, Kohlrabi.
I did so in the past. However now I use wavpack.exe for some reason. |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 26th May 2013 - 03:21 |