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 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 !!

LinkBacks (?)
LinkBack to this Thread: http://www.unix.com/unix-dummies-questions-answers/46063-files-dates.html
Posted By For Type Date
yoga_sawant's Bookmarks on Delicious This thread Refback 12-25-2008 09:20 AM

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
files between any two given dates thanuman UNIX for Dummies Questions & Answers 8 12-06-2007 02:16 AM
Copy only files created between two dates r_sethu UNIX for Dummies Questions & Answers 2 07-27-2007 03:24 AM
list exe files modified before certain dates fremont UNIX for Dummies Questions & Answers 2 05-25-2007 09:29 AM
transferring files using ftp but mantaining the dates 435 Gavea Shell Programming and Scripting 4 07-23-2006 11:48 AM
Remove files by dates dman110168 UNIX for Dummies Questions & Answers 1 10-25-2000 12:21 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack (1) Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 5.00 average. Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 12-03-2007
mastachef mastachef is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 21
Files and dates

Hello all. I am trying to do a file listing on a particular directory by date. I need to list the files and their directories that have a timestamp between Dec-1-2006 and Jan-1-2007. Any help would be greatly appreciated.
  #2 (permalink)  
Old 12-03-2007
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,717
Code:
touch -t  200612010001  ./oldfile
touch -t  200701010001  ./newfile
find /path/to/files  -new ./oldfile -a ! -newer ./newfile -exec ls -l {} \;
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 08:48 AM.


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