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 / -type f

find -path /extra -prune -o -type f


Thanks in advance ...
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"


_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to