[GLLUG] Grep or ls or tail or something

Mike Szumlinski szumlins@msu.edu
Sat, 26 Jan 2002 00:26:09 -0500


So I'm trying to put together an icecast playlist of a whole lotta songs
that I have on my system, but it seems that shout's playlist doesn't like
spaces in file names or diving into directories. Does anyone know a way to
create a simple text file that takes the recursive contents of a directory
and prints it in form readable by the playlister?

i.e.

Real filename: Picture 1.tiff
What the playlist needs: Picture\ 1.tiff

I have roughly 3600 files that I'd like to put in, so going back and naming
them just isn't cool.

-Mike

-=--===---===---===---===-=-
|Mike Szumlinski           |
|Michigan State University |
-=--===---===---===---===-=-
"I need a job. Hire me"