exclude directories from find command

Jack Mc Lauren jack.mclauren at yahoo.com
Sat Dec 22 14:24:33 UTC 2012


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 ... 


More information about the freebsd-questions mailing list