[LBo] how to list files with full path
Jim Westbrook
jimw at austin.rr.com
Mon Dec 18 18:25:43 CET 2006
Michal wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Hi all,
> I would like to ask for help with listing files with full {absolute} path.
>
>I need to list directories recursively and filter only *.mp3 files.
>
>I have tried:
>
>
>>find . -name "*.mp3" -R
>>
>>
>that is what I would like to do, except that result is relative to the .
>dir eg:
>./album/song.mp3 instead of /home/something/album/song.mp3
>
>This works for me.
>
>
find /home/jim/ -name "*.mp3"
you just need to give the full pathname from which it is to run.
JimW
More information about the QnA
mailing list