chaostic
Group: Members
Posts: 328
Joined: Mar. 2005 |
|
Posted: Mar. 16 2007,06:31 |
|
I know I'm way late on this, but saw this during a search and I figured out how to fix your problem with cating filenames with spaces.
Code Sample | cat mp3list.m3u | sed -e 's/ /\\ /g'` > temp.txt && cat 'cat temp.txt' | poc &
|
This has cat read the m3u, piping it into sed with changes all the spaces to "\ ". Sed then outputs it to standard out which is redirect to the new file temp.txt, which is identical to mp3list.m3u except for the \s. Then, after that command is done, you redo the recursive cat and pipe that to poc. & to background it if needed/wanted.
|