solution: http://kubuntuforums.net/forums/inde...7781#msg257781
=====
[on KB 10.10...]
I have about 80% of this figured out, but am stuck at this point.
What I want to do:
1. list a directory containing a number of *.wav files;
2. wrap each file name in quotes ('cause they contain spaces);
3. pipe the output of this process to a command line program ("flake").
The result will be the conversion of each *.wav file into its *.flac equivalent.
THIS almost works, but stumbles, and I cannot tell why :
Here's output of
"01-Sonata In D minor BWV964 Adagio (JS Bach)-Colin Booth.wav" "02-Sonata In D minor BWV964 Allegro (JS Bach)-Colin Booth.wav"
This look exactly right - and if I cut and paste this like so -
it runs perfectly. But...when I try to pipe it, it doesn't. Flake just outputs "error parsing filenames" and quits. I don't know what to try next.
Any help would be mightily appreciated.
=====
[on KB 10.10...]
I have about 80% of this figured out, but am stuck at this point.
What I want to do:
1. list a directory containing a number of *.wav files;
2. wrap each file name in quotes ('cause they contain spaces);
3. pipe the output of this process to a command line program ("flake").
The result will be the conversion of each *.wav file into its *.flac equivalent.
THIS almost works, but stumbles, and I cannot tell why :
Code:
ls -x -Q ~ | flake -5
Code:
ls -x -Q
This look exactly right - and if I cut and paste this like so -
Code:
flake -5 {paste file name string here}
Any help would be mightily appreciated.
Comment