![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| check timestamp on specific files | grinds | Shell Programming and Scripting | 2 | 05-16-2008 12:01 PM |
| to get the timestamp of files from the files and folders in Unix | kishan | HP-UX | 2 | 04-09-2008 05:20 AM |
| ftp files -- but keep the original timestamp | Perderabo | Answers to Frequently Asked Questions | 0 | 07-23-2006 08:43 AM |
| How do i check if 2 files have same timestamp? | pt14 | AIX | 1 | 11-18-2005 10:54 AM |
| comparing timestamp of two files | jyotipg | Shell Programming and Scripting | 2 | 04-06-2004 03:38 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
how to compare the timestamp of 2 files
i want to compare the timestamp of the 2 file..
please let me know how we can achive this.. |
| Forum Sponsor | ||
|
|
|
#3
|
||||
|
||||
|
With bash and ksh, use the the following conditional expressions :
Code:
[[ file1 -nt file2 ]] [[ file1 -ot file2 ]] Jean-Pierre. |
||||
| Google The UNIX and Linux Forums |