Hi,

On Sat, 22 Dec 2012 06:22:44 -0800 (PST)
Jack Mc Lauren <jack.mclau...@yahoo.com> wrote:

JML> How can I exclude specific directories from my find command ? I
JML> want to look for all files in the whole system except for those in
JML> e.g /extra directory. I use this command to find all files, but
JML> how can I exclude /extra directory ?
JML> 
JML> find / -type f

what about "find / -type f | grep -v ^\/extra" ? ;)

Regards

-- 
22. Julmond 2012, 15:33
Homepage : http://www.jan0sch.de

For flavor, instant sex will never supersede the stuff you have to peel
and cook.
                -- Quentin Crisp

Attachment: pgplgQWuOaL9G.pgp
Description: PGP signature

Reply via email to