[KLUG Members] Command line mp3 players

Bill members@kalamazoolinux.org
Wed, 26 Sep 2001 21:45:57 -0400


On Wednesday 26 September 2001 21:28, you wrote:
> That doesn't seem to work.  I think it is because the file names have
> spaces in them, I get errors like:
>
> Days.mp3: No such file or directory.
>
> That is obviously the tail end of some file name that has tons of spaces
> in it.  Do you know how I can deal wiith the spaces?
>
Yeah ... ya gotta escape 'em. The escape character can vary from one shell 
to another. I am very tired right now ... very ill. But I THINK the % key 
does the trick in bash. However ... keep an eye on the list ... someone 
here is sure to KNOW the answer. Have you tried quoting the whole address? 

Once you get a handle on the name, change it to get rid of the spaces 
forever. 

you can
use.dots.to.seperate
or
use_underscores_profitably
or
MyFavoriteIsToUseCapsInTheName

It's up to you ... but unless you wanna parse a funky file name forever, 
you'll convert it to SOMETHING else.

Bill
-- 
icq # 126373831 http://www.anhonestdesire.com
"Those who sacrifice essential liberty to obtain a temporary safety
end up with neither."  -- Ben Franklin (1759)