RE: Help with either bash or find...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
 

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux