IPB

Welcome Guest ( Log In | Register )

Converting a directory to WavPack including all subfolders, in one go
Robertina
post May 8 2011, 00:59
Post #1





Group: Members
Posts: 1306
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.
Go to the top of the page
+Quote Post
 
Start new topic
Replies (1 - 4)
bryant
post May 8 2011, 02:09
Post #2


WavPack Developer


Group: Developer (Donating)
Posts: 1291
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... smile.gif
Go to the top of the page
+Quote Post
Robertina
post May 8 2011, 05:30
Post #3





Group: Members
Posts: 1306
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.
Go to the top of the page
+Quote Post
Kohlrabi
post May 8 2011, 09:00
Post #4





Group: Super Moderator
Posts: 1029
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.


--------------------
Ceterum censeo Masterdiskem esse delendam.
Go to the top of the page
+Quote Post
Robertina
post May 8 2011, 09:36
Post #5





Group: Members
Posts: 1306
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.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 2nd September 2014 - 06:12