![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| to compare latest logfile with the current running time of the script | mail2sant | Shell Programming and Scripting | 0 | 04-06-2008 08:45 PM |
| Compare file time | pdr302 | Shell Programming and Scripting | 1 | 11-01-2007 07:14 PM |
| Compare Date And Time | Jamil Qadir | UNIX for Dummies Questions & Answers | 5 | 01-10-2007 11:22 AM |
| compare update time of files | dorilevy | UNIX for Dummies Questions & Answers | 8 | 05-27-2003 09:48 AM |
| Compare two files | b5fnpct | UNIX for Dummies Questions & Answers | 2 | 08-16-2001 03:28 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
compare files acess time
I need to compare x file with y file.
If x file is newer than y file do xxxx; (I used touch -t yymmddxxx to chnage the time for y file) How can i do that? I tried use if [ $x -ot $y ] then echo "Xxx";; fi But cant....any other good ways to do it? |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|