![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| change filenames to Proper case | prvnrk | Shell Programming and Scripting | 7 | 09-26-2007 02:43 PM |
| Check for proper e mail id format | prolay | Shell Programming and Scripting | 2 | 08-23-2007 04:37 AM |
| Proper routing | BOFH | IP Networking | 3 | 03-04-2007 12:36 AM |
| Application servers, proper usage | jonwillog | UNIX for Dummies Questions & Answers | 1 | 08-22-2005 09:19 PM |
| Proper Forum Etiquette | tarballed | Post Here to Contact Site Administrators and Moderators | 8 | 09-10-2002 07:32 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Proper use of prune...
My goal was to find any directories inside of any directory called "09_Client Original" not modified in the last 30 days.
Code:
$ find /Volumes/Jobs_Volume/ -type d -name "09_Client Original" -exec find {} -mtime +30 -type d -maxdepth 1 \;
Code:
/usr/local/bin/stuff -f sit5 -m 2 -o -D /results/from/above I'd like to rename these directories with a _phsht suffix and prune the results in my find command. I tried this: Code:
find /Volumes/Jobs_Volume/ -type d -name "09_Client Original" -exec find {} -mtime +30 -type d -maxdepth 1 \( -type d -name "_phsht" -prune \) -o -print \;
Thanks in advance! |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|