![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| find command to exclude directories | SmurfGGM | UNIX for Dummies Questions & Answers | 1 | 07-10-2008 08:29 AM |
| grep exclude/find single and double quotes | Lindy_so | UNIX for Dummies Questions & Answers | 4 | 03-06-2008 09:01 AM |
| How to exclude top level directory with find? | siegfried | Shell Programming and Scripting | 3 | 09-19-2007 12:15 AM |
| how do i exclude the current directory when using find? | mjays | Shell Programming and Scripting | 7 | 04-24-2007 09:13 AM |
| GNUTAR exclude directories | TheBlueLady | UNIX for Advanced & Expert Users | 6 | 04-25-2003 04:38 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Find but exclude directories
Hello,
I have a line in my script to find the files changed in the last 24 hours. It is as below: find /home/hary -type f -mtime -1 I now want to exclude a directory named "/home/hary/temp/cache" from the above find command. How do I add it to my script? Any help is appreciated. Thanks, Hary |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|