exclude directories from find command

2012-12-22 Thread Jack Mc Lauren
Hi fellas How can I exclude specific directories from my find command ? I want to look for all files in the whole system except for those in e.g /extra directory.  I use this command to find all files, but how can I exclude /extra directory ? find / -type f Thanks in advance ... 

Re: exclude directories from find command

2012-12-22 Thread Jens Jahnke
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,

Re: exclude directories from find command

2012-12-22 Thread RW
On Sat, 22 Dec 2012 06:22:44 -0800 (PST) Jack Mc Lauren wrote: Hi fellas How can I exclude specific directories from my find command ? I want to look for all files in the whole system except for those in e.g /extra directory. I use this command to find all files, but how can I exclude /extra

Re: exclude directories from find command

2012-12-22 Thread Bas Smeelen
On 12/22/12 15:22, Jack Mc Lauren wrote: Hi fellas How can I exclude specific directories from my find command ? I want to look for all files in the whole system except for those in e.g /extra directory. I use this command to find all files, but how can I exclude /extra directory ? find /

Re: exclude directories from find command

2012-12-22 Thread Roland Smith
On Sat, Dec 22, 2012 at 06:22:44AM -0800, Jack Mc Lauren wrote: Hi fellas How can I exclude specific directories from my find command ? I want to look for all files in the whole system except for those in e.g /extra directory.  I use this command to find all files, but how can I exclude