[LBo] how to list files with full path

Michal misko at gmx.co.uk
Mon Dec 18 21:32:05 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

>> #!/bins/bash
> /bin/bash NOT /bins/bash
I am sorry it was typo.

> Does the following help? 
> http://linuxbasics.org/tutorials/advanced/realworld/a_red_guitar_three_chords_and_the_truth
Thank you, I have red it {unfortunately nothing with absoute paths}
find "$PWD" -name "*.mp3" > absoute_playlist.m3u solved my problem



best regards
Michal

Stefan Waidele wrote:
> 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
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)

iD8DBQFFhvrFD8bCra3vMyQRAgOfAJ0bTPvHvuAY0a/cj4Km0aSuDlE9JwCgiOVP
5HFgtjqs61ogcCMQ5irbPRU=
=m/+Z
-----END PGP SIGNATURE-----


More information about the QnA mailing list