6

How to find from / but exclude certain folder

view full story
linux-howto

http://www.unix.com – :)Hi Unix Specialists, I need your advice on how to find all the files from root ( / ) filesystem but exclude those from /export/home (different filesystem) folder. Below are some of the find statements that I have tried without success: Code: find / -name '/export/home' -prune -o print -ls Code:   find / -type d -name '/export/home' -prune -o -ls   find / -type d -name "\/export\/home" -prune -o –ls General searches & man page suggest similar commands but still couldn’t work it out still. I am running on Solaris 10 x86 platform. Your assistance w (HowTos)