Help with either bash or find...
Daniel B. Thurman
dant at cdkkt.com
Fri May 9 16:26:38 UTC 2008
Daniel Challen wrote:
|I forgot to add: I assume you are aware that musepack is a lossy
|codec/format and so decoding to Microsoft wave or some lossless
|compressed format will not get the discarded data back...
|
>From what I can tell, I tried decoding one .mpc file into
.wav, ran it, and it sounded fine as far as I can tell.
|for musepack_file in $(find -name \*.mpc -type f) ; do
| mppdec "$musepack_file" "$(echo $musepack_file | sed s/mpc$/wav/)"
|done
The problem is that an mpc file like:
"The Masterpiece of Mozart, Requiem - requiem.mpc"
would break up into pieces as seen by musepack_file
due to spaces (and perhaps other delimiter characters),
something like:
The
Masterpiece
of
Mozart,
Requiem
-
requiem.mpc
This was the problem I had originally when
attempting to use the for loop in bash.
I am still trying out other suggestions and those
given by Todd. Not there yet...
Thanks!
Dan
No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 269.23.11/1422 - Release Date: 5/8/2008 5:24 PM
More information about the fedora-list
mailing list