![]() |
|
|
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 |
| What to do when mtime doesn't work? | bbbngowc | Shell Programming and Scripting | 19 | 03-17-2009 10:15 AM |
| -mtime +30 | Blue68 | UNIX for Dummies Questions & Answers | 1 | 01-05-2009 02:48 AM |
| problem in mtime | manas_ranjan | Shell Programming and Scripting | 2 | 12-24-2007 04:45 AM |
| mtime | ravi raj kumar | Shell Programming and Scripting | 7 | 03-01-2007 08:54 PM |
| mtime help!!!!! | scooter17 | UNIX for Dummies Questions & Answers | 2 | 09-12-2006 03:24 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
mtime
Hi, I've some files of some past days and everyday some new files are also getting added to the same. Now how can i use mtime to get the files of the current date i.e if i want the files of 25th feb 2009 and if im finding the files on 25th 12:10 am then i should only get the files after 12:00 am of 25th feb 2009. right now im doing it this way but this gives me the files modified less than 1 day ago i.e., within the past 24 hours, as before. Code:
find . -name '*.xml' -mtime -1 -exec basename {} \; >>Today.xml
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|