![]() |
|
|
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 sort options? | mavsman | UNIX for Dummies Questions & Answers | 6 | 04-01-2008 04:20 PM |
| Question on Find Utility | marlonus999 | Shell Programming and Scripting | 5 | 09-19-2007 04:53 AM |
| find options don't work in script | mattd | Shell Programming and Scripting | 3 | 04-30-2007 11:31 AM |
| Find command with prune and exec options | Sebarry | UNIX for Dummies Questions & Answers | 2 | 06-19-2006 05:07 AM |
| Threaded 'find' utility | mariuca | High Level Programming | 1 | 10-27-2004 06:57 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
options in FIND utility
hi folks,
I want to select all files older than 13 days from a specified directory for that i used find /home/amar -name '*.*' -mtime 13 but it gives me all the files from subdirectories also, I dont want that I want files only from /home/amar and not from /home/amar/abc/.. which option is suitable here -depth,-mindepth,-prune ? how to use it ??? |
|
||||
|
thanx Hitori,
but i am having problem that in the statement how to use it ?? find /home/amar -maxdepth 1 -name '*.*' -mtime 13 find /home/amar -name '*.*' -mtime 13 -maxdepth 1 find -maxdepth 1 /home/amar -name '*.*' -mtime 13 are not working |
![]() |
| Bookmarks |
| Tags |
| mtime |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|