The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Finding Hidden files and protecting the folder containing hidden files from deletion
.
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
:
Finding Hidden files and protecting the folder containing hidden files from deletion
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
5
(
permalink
)
12-22-2007
ghostdog74
Registered User
Join Date: Sep 2006
Posts: 2,557
you can use negation
Code:
# find /path -type f -name "file_pattern_to_delete" ! -name "file_not_to_delete" .....
ghostdog74
View Public Profile
Find all posts by ghostdog74
Find ghostdog74's past nominations received
Find ghostdog74's present nominations given