![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem with find command when used with mtime | arunkumar_mca | UNIX for Dummies Questions & Answers | 4 | 01-07-2008 09:37 PM |
| problem with find and mtime | arunkumar_mca | UNIX for Dummies Questions & Answers | 4 | 11-05-2007 04:41 AM |
| find . -mtime | topcat8 | UNIX for Dummies Questions & Answers | 1 | 04-26-2006 07:55 AM |
| find -mtime off by one day? | ceanntrean | UNIX for Dummies Questions & Answers | 4 | 08-24-2005 04:46 PM |
| find -mtime +2? means after 48 hours.. | yls177 | UNIX for Dummies Questions & Answers | 1 | 11-08-2002 04:59 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
find -mtime query
Hello everyone,
I have got two queries: 1) I want to do some work on files that were last modified yesterday. Will find ... -mtime -2 be correct or -mtime-1? 2)What about finding files that were modified today? Will it be -mtime -0 or -mtime -1? Thanks. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
The usage of the -mtime option of the find command:
Code:
-mtime n n : exact n*24 hours ago. -n : under n* 24 hours. +n : over n*24 hours. Regards |
|||
| Google The UNIX and Linux Forums |