[LBo] how to list files with full path

Stefan Waidele Stefan at Waidele.info
Mon Dec 18 20:26:18 CET 2006


Michal schrieb:
> [...]
> I know that if I give as argument absolute path it will give me result
> as I want, but I want to make a script that will create in play list
> with absolute paths all mp3s in directory where is the script called from.

I am confused?
Do you want absolosute paths or not?

> I also tried something like this but I was not successful:
> 
> #!/bins/bash

/bin/bash NOT /bins/bash

> mypath= pwd

That line should read:
export mypath=`pwd`

Does the following help?
http://linuxbasics.org/tutorials/advanced/realworld/a_red_guitar_three_chords_and_the_truth

Stefan

-- 
http://LinuxBasics.org          http://Krone-Neuenburg.com
http://Stefan.Waidele.info              http://sl.stots.de


More information about the QnA mailing list