The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
Use -prune with find command on AIX
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Use -prune with find command on AIX
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
6
(
permalink
)
11-08-2002
Perderabo
Unix Daemon
Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,127
Yes, but I would phrase it:
\( ! -name users -prune \) -> unless a directory is named "users" do not show its contents.
This reveals the weakness of this approach: it won't work well if we have a:
/users/users/files
Perderabo
View Public Profile
Find all posts by Perderabo
Find Perderabo's past nominations received
Find Perderabo's present nominations given