UPDATE: Re: [LBo] how to list files with full path

Chris F.A. Johnson cfajohnson at teksavvy.com
Mon Dec 18 23:36:42 CET 2006


On Mon, 18 Dec 2006, Michal wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
>>> find "$PWD" -name "*.mp3"
>> Thank you very much, that is exactly what I was looking for.
> There is one more thing I had problem with. There were permition denied
> error. I have to redirect error output somewhere. {I still haven't red
> whole Chapter 5, so if there is better solution let me know please}:
>
> find "$PWD" -name "*.mp3" >playlist.m3u 2>> error.log

     That's fine, but if you don't want to keep the error messages,
     send them to the bit bucket:

find "$PWD" -name "*.mp3" > playlist.m3u 2> /dev/null

-- 
    Chris F.A. Johnson                      <http://cfaj.freeshell.org>
    ===================================================================
    Author:
    Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)


More information about the QnA mailing list