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

Re: [cobalt-users] OT: to you script-heros...



> hoi,
>
> i know that here are some good sript writers... i got a small problem
> and i think, it is 5 mins for one...
>
> maybe someone can give me a hint:
>
> i need a shell script with syntax script /path/to/folder which prints
> the content (in may case pictures.jpg) on screen or piped in a file
> like 1.jpg, 2.jpg, 3.jpg (seperated by ",").
>
> to say in words: ls on a folder, remove every info except
> filename.ext and print it...
>
> any ideas?

ls -m 

? 

WBR,
Dmitry