The UNIX and Linux Forums  

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



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #6 (permalink)  
Old 07-10-2007
Epiphone Epiphone is offline
Registered User
 

Join Date: Jun 2007
Posts: 21
I have a load of logfiles,

Jul 5 07:03 MSG_sdfd_dsfsdf_sdfsdfsdf_070705_123116.gz
Jul 6 08:03 MSG_sdf_sdfsdfsd_sdfsdf_070705_181255.gz
Jul 6 14:03 MSG_sdf_sdfsdf_sdfdsfsdf_070705_224108.gz
Jul 6 20:03 MSG_sdf_sdfsdf_sdfdsfsd_070706_034803.gz
Jul 7 01:03 MSG_sdf_sdfsdf_sdfsdfdsf_070706_065025.gz
Jul 7 06:03 MSG_sdf_sdfsdf_sdfsdf_070706_081903.gz
Jul 8 10:03 MSG_sdf_sdfdsf_sdfsdf_070706_092214.gz
Jul 8 17:03 MSG_sdf_sdfsdf_sdfsdf_070706_144128.gz

I want to search through them using the bold text below which is the file creation date as the starting date/time and the file last modified date as the end date/time

MSG_sdf_sdfsdf_sdfsdf_070706_144128.gz

Ive been using the code already in this thread to search by 2 modified date/time. But how can I combine the 2?
Reply With Quote