![]() |
|
|
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 |
| If any file resides for more than an hour in this directory then to raise an alert | yazhini.t | Shell Programming and Scripting | 2 | 12-03-2007 10:40 PM |
| Find any spike in CPU usage a hour ago | kavera | SUN Solaris | 2 | 11-14-2007 11:39 AM |
| find files modified in a specific month | omer_ome | UNIX for Advanced & Expert Users | 1 | 07-02-2006 10:43 AM |
| find files modified in a specific month | omer_ome | SUN Solaris | 1 | 07-02-2006 10:38 AM |
| How to zip a modified file 15 days before but not scanning my sub directory files | skrish70 | Shell Programming and Scripting | 1 | 10-10-2005 04:41 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
perl find directory only if modified in last hour
I want a one liner perl command to find a directory only if the modified time is within the last hour
I am running this on windows - and I will define a variable for the result. So for example I want to return value of 1 for the variable if the modified time of d:\test1 is within the last hour. If it hasnt been modified within the last hour I want to return a value of 0 for the variable so I can then print the variable name and its value to a file.. Can you help? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|