using find to exclude dirs, while specifying a give user...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi....

trying to search a drive for files for a given user, but i want to exclude
certain dirs...

i've tried using the following with no luck...

find / \(-path "/foo" -o -path "/foo2" \) -prune -o print.... which prints
out files excluding the foo1/foo2 trees....

when i insert the -user "user1".. it blows up....

ie: find / \(-path "/foo" -o -path "/foo2" \) -prune -o -user "user1" -o
print....  <<doesn't work!!!

any solutions would be really helpful... i've been playing with this for a
few hours!!

thanks



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux