[ale] Bash command to output filenames with complete path?

Andrew Grimmke grimmke at directvinternet.com
Thu Aug 15 06:52:10 EDT 2002


Hi everybody,

I know this is really simple stuff, but what i want to
do is something like the following:

alias M1="ls -R /home/andrew/mp3/ >
/home/andrew/temp/mp3list ; mpg123 -@
/home/andrew/temp/mp3list -V"

so that with 2 keystrokes I can dump all my songs into
a list file and begin playing them randomly.

The problem, of course is that, unless I cd to the
directory first, I need the full path listed in mp3list.

If there is a switch for ls to do this I can't find it.
 Any other suggestions?

Andrew Grimmke
Marietta, Georgia

---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list