RSS Forums RSS
Please support our Shell Scripting advertiser: Programming Forums

searching for files

Join Date: Apr 2006
Location: India
Posts: 16
Reputation: kamitsin is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
kamitsin kamitsin is offline Offline
Newbie Poster

Re: searching for files

  #2  
Apr 28th, 2006
make a file with name of the month and the month in numeral format.

Say,

Jan 01
Feb 02
March 03

store the year and month in two different variable.

grep the month from the file containing the month and the corresponding number.

use awk to print the month name and year.

Do a ls -Ral and grep the month and year.

Try this out. It works.

Amit
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 1:47 pm.
Newsletter Archive - Sitemap - Privacy Statement - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC