![]() |
|
|
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 |
| Compare date from db2 table to yesterday's Unix system date | sasaliasim | Shell Programming and Scripting | 9 | 12-01-2008 11:37 PM |
| check the current date file in directory | pallvi | SUN Solaris | 2 | 01-04-2008 05:57 PM |
| compare date with date in file | siog | UNIX for Dummies Questions & Answers | 2 | 10-04-2006 01:10 PM |
| compare today's date with date in a file | siog | UNIX for Dummies Questions & Answers | 4 | 10-04-2006 12:55 PM |
| Log File date compare for user defined range | mojo24 | Shell Programming and Scripting | 0 | 05-05-2006 07:39 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Compare date of file and directory
I need to compare the changedate of a file and a directory in a shellscript. If the changedate of the directory is the same or newer than the file, I will execute a certain command. If not, I have to wait a second and then compare the dates again. Is this possible?
Thanks. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|