[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
using find to exclude dirs, while specifying a give user...
- From: "bruce" <bedouglas earthlink net>
- To: <fedora-list redhat com>
- Subject: using find to exclude dirs, while specifying a give user...
- Date: Mon, 3 Sep 2007 15:10:17 -0700
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]