The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to retrieve base name of the file aoussenko Shell Programming and Scripting 8 06-13-2008 09:19 AM
retrieve value from a file satish@123 Shell Programming and Scripting 1 05-17-2008 07:40 AM
how to retrieve a particular character from a file? singalla UNIX for Dummies Questions & Answers 1 02-27-2008 10:05 AM
Retrieve message from file mpang_ Shell Programming and Scripting 5 02-02-2007 09:38 AM
retrieve timestamp associated with a file 2nilotpal UNIX for Dummies Questions & Answers 2 08-08-2002 06:23 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-08-2008
rajesh08 rajesh08 is offline
Registered User
  
 

Join Date: Sep 2008
Posts: 14
retrieve the file.

How will retrieve for a particular months file in UNIX say for example from January to February 2008.
  #2 (permalink)  
Old 10-08-2008
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2007
Location: Germany
Posts: 2,259
File by Unix filesystem timestamp or by date in it's filename?

In the 1st case, use
Code:
man find
and have a closer look at the -mtime switch maybe, also conjunction of -a for "and".

In the 2nd case, use something like
Code:
find .| grep -i <entersomepatternhereaccordingtoyourdateinthefilename>
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:30 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0