Unix/Linux Go Back    


Shell Programming and Scripting BSD, Linux, and UNIX shell scripting — Post awk, bash, csh, ksh, perl, php, python, sed, sh, shell scripts, and other shell scripting languages questions here.

how to check whether the given file is 5 weeks older than current date

Shell Programming and Scripting


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 10-29-2007
risshanth risshanth is offline
Registered User
 
Join Date: Oct 2007
Last Activity: 27 November 2012, 11:52 AM EST
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
how to check whether the given file is 5 weeks older than current date

HI,

I need to check whether the given file is 5 weeks older than current date ??
Can anyone give me the script for this ??
Sponsored Links
    #2  
Old Unix and Linux 10-29-2007
matrixmadhan matrixmadhan is offline Forum Advisor  
Technorati Master
 
Join Date: Mar 2005
Last Activity: 10 January 2017, 8:10 AM EST
Location: classification algos
Posts: 3,215
Thanks: 19
Thanked 31 Times in 28 Posts
Please search in the forum Linux

There are many other threads discussing the same.

man find - atime / mtime
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Shell Script to compare files, check current date and count DallasT Shell Programming and Scripting 0 04-21-2010 11:36 AM
Delete the files older than 3 weeks in a particular directory. rajsharma Shell Programming and Scripting 3 11-15-2009 09:15 AM
How to check date variable according to the current date? nir_s Shell Programming and Scripting 2 01-15-2009 03:00 PM
Finding files older than the current date and time and renaming and moving ragavhere Shell Programming and Scripting 7 11-21-2008 04:25 AM
check the current date file in directory pallvi Solaris 2 01-04-2008 04:57 PM



All times are GMT -4. The time now is 10:53 AM.