<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: find files between certain time ranges in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/find-files-between-certain-time-ranges/m-p/4823273#M641622</link>
    <description>&lt;P&gt;Use the find command in combination with the touch command.&amp;nbsp; First touch two files with your starting and ending times (man touch).&amp;nbsp; Then run find using those reference files for comparison.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;find /dir -newer startfile ! -newer endfile (man find for details)&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jul 2011 17:36:58 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2011-07-12T17:36:58Z</dc:date>
    <item>
      <title>find files between certain time ranges</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-files-between-certain-time-ranges/m-p/4823263#M641621</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need a way to find files between certain times within the same day.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lets say I want to find out -&amp;nbsp; between 4pm and 5pm which files got modified?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Allan.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2011 17:29:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-files-between-certain-time-ranges/m-p/4823263#M641621</guid>
      <dc:creator>allanm77</dc:creator>
      <dc:date>2011-07-12T17:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: find files between certain time ranges</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-files-between-certain-time-ranges/m-p/4823273#M641622</link>
      <description>&lt;P&gt;Use the find command in combination with the touch command.&amp;nbsp; First touch two files with your starting and ending times (man touch).&amp;nbsp; Then run find using those reference files for comparison.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;find /dir -newer startfile ! -newer endfile (man find for details)&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2011 17:36:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-files-between-certain-time-ranges/m-p/4823273#M641622</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2011-07-12T17:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: find files between certain time ranges</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-files-between-certain-time-ranges/m-p/4823275#M641623</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This has been asked hundreds of times, but here's one way:&amp;nbsp; Touch two reference files, for example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# touch -amt 07121600.00 /tmp/ref1&lt;/P&gt;&lt;P&gt;# touch -amt 07121700.00 /tmp/ref2&lt;/P&gt;&lt;P&gt;# find . -xdev -type f -newer /tmp/ref1 -a ! -newer /tmp/ref2 -print&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course, if you are using the GNU 'find' you have more granular arguments like '-mmin'.&amp;nbsp; Then too, Perl can do this without the need for temporary files, too!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;...JRF...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2011 17:37:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-files-between-certain-time-ranges/m-p/4823275#M641623</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2011-07-12T17:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: find files between certain time ranges</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-files-between-certain-time-ranges/m-p/4823279#M641624</link>
      <description>&lt;P&gt;Hi (again) Allan:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By the way, please evaluate your other posts:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://h30499.www3.hp.com/t5/Languages-and-Scripting/Perl-or-shell-script/td-p/4819163"&gt;http://h30499.www3.hp.com/t5/Languages-and-Scripting/Perl-or-shell-script/td-p/4819163&lt;/A&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...JRF...&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2011 17:40:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-files-between-certain-time-ranges/m-p/4823279#M641624</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2011-07-12T17:40:12Z</dc:date>
    </item>
  </channel>
</rss>

