The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


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
"find command" to find the files in the current directories but not in the "subdir" swamymns Shell Programming and Scripting 9 07-22-2008 08:23 AM
Can I know find syntax to find given date files bache_gowda Shell Programming and Scripting 3 03-26-2008 03:37 AM
script to rename files with current date and copy it. logic0 UNIX for Dummies Questions & Answers 6 05-01-2007 02:13 AM
listing files that does not belong to current date esh.mohan UNIX for Dummies Questions & Answers 3 02-20-2006 09:24 AM
listing files that do not belong to current date esh.mohan Shell Programming and Scripting 1 02-20-2006 07:38 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 01-19-2006
Registered User
 

Join Date: Jan 2006
Posts: 8
how to find files less than the current date

Hai,

i have one directory contains 100 files .each file name like xvb_dateformat.i want find which file names are xvb_lessthan or equal to currentdate.

any one give the solution.

regards
Reply With Quote
Forum Sponsor
  #2  
Old 01-19-2006
kduffin's Avatar
UN1X
 

Join Date: Nov 2003
Location: Virginia
Posts: 441
Moving the thread to the proper location. Keith
Reply With Quote
  #3  
Old 01-19-2006
Registered User
 

Join Date: Jan 2006
Posts: 8
Quote:
Originally Posted by kduffin
Moving the thread to the proper location. Keith
how to move proper location
Reply With Quote
  #4  
Old 01-20-2006
aigles's Avatar
Registered User
 

Join Date: Apr 2004
Location: Bordeaux, France
Posts: 1,212
Quote:
i have one directory contains 100 files .each file name like xvb_dateformat.i want find which file names are xvb_lessthan or equal to currentdate.
what is the date format in the filename ?
Reply With Quote
  #5  
Old 01-20-2006
Registered User
 

Join Date: Oct 2002
Posts: 676
[code]
touch -t 01200000 newfile
find . ! -newer newfile
[code]
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:36 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0