<?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: Need the list of files which created in specific time in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/need-the-list-of-files-which-created-in-specific-time/m-p/5103775#M91191</link>
    <description>You can't get that info.  You can only get a list of files modified in the last hour.&lt;BR /&gt;&lt;BR /&gt;To do this, you would have to use touch to create a reference file of exactly one hour ago, then use "find . -newer ref-file".</description>
    <pubDate>Wed, 16 Apr 2008 08:18:50 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2008-04-16T08:18:50Z</dc:date>
    <item>
      <title>Need the list of files which created in specific time</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-the-list-of-files-which-created-in-specific-time/m-p/5103774#M91190</link>
      <description>Hi all&lt;BR /&gt;I need the list of files which created in specific time.&lt;BR /&gt;Foe example: I need list of files in perticular directory which are created in last 1 hour.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 16 Apr 2008 07:49:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-the-list-of-files-which-created-in-specific-time/m-p/5103774#M91190</guid>
      <dc:creator>VVS</dc:creator>
      <dc:date>2008-04-16T07:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need the list of files which created in specific time</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-the-list-of-files-which-created-in-specific-time/m-p/5103775#M91191</link>
      <description>You can't get that info.  You can only get a list of files modified in the last hour.&lt;BR /&gt;&lt;BR /&gt;To do this, you would have to use touch to create a reference file of exactly one hour ago, then use "find . -newer ref-file".</description>
      <pubDate>Wed, 16 Apr 2008 08:18:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-the-list-of-files-which-created-in-specific-time/m-p/5103775#M91191</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-04-16T08:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: Need the list of files which created in specific time</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-the-list-of-files-which-created-in-specific-time/m-p/5103776#M91192</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;With Perl, this is easy:&lt;BR /&gt;&lt;BR /&gt;# perl -MFile::Find -le 'find(sub{print $File::Find::name if -f $_ &amp;amp;&amp;amp; -M _ &amp;lt;= 1/24},@ARGV)' /path&lt;BR /&gt;&lt;BR /&gt;THis will search the directory or directories passed as the script argument looking for FILES that were *modified* during the last hour (1/24 of a day).&lt;BR /&gt;&lt;BR /&gt;By the way, there is no such thing as a creatino timestamp in Unix.  The 'mtime' or last modification timestamp is equivalent to a creation moment when a file is first instantiated.  Thereafter, any change in the file's contents updates the 'mtime' in its inode.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 16 Apr 2008 11:09:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-the-list-of-files-which-created-in-specific-time/m-p/5103776#M91192</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-04-16T11:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Need the list of files which created in specific time</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-the-list-of-files-which-created-in-specific-time/m-p/5103777#M91193</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;Was there something more that you wanted in your solution?&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 16 Apr 2008 12:04:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-the-list-of-files-which-created-in-specific-time/m-p/5103777#M91193</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-04-16T12:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: Need the list of files which created in specific time</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-the-list-of-files-which-created-in-specific-time/m-p/5103778#M91194</link>
      <description>Hi James,&lt;BR /&gt;&lt;BR /&gt;I tried your command and it doesn't work for me.  I tried both relative and absolute path.&lt;BR /&gt;&lt;BR /&gt;Does  this have to be run in a script or is it good to run at the prompt?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers</description>
      <pubDate>Wed, 16 Apr 2008 13:11:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-the-list-of-files-which-created-in-specific-time/m-p/5103778#M91194</guid>
      <dc:creator>OFC_EDM</dc:creator>
      <dc:date>2008-04-16T13:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need the list of files which created in specific time</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-the-list-of-files-which-created-in-specific-time/m-p/5103779#M91195</link>
      <description>Correction&lt;BR /&gt;&lt;BR /&gt;It returns nothing on HPUX 11.11&lt;BR /&gt;&lt;BR /&gt;on my 11.23 (recently patched) system&lt;BR /&gt;it does&lt;BR /&gt;&lt;BR /&gt;# /usr/bin/perl -MFile::Find -le 'find(sub{print $File::Find::name if -f $_ &amp;amp;&amp;amp; -M _ &amp;lt;:q= 1/24},@ARGV)' /tmp&lt;BR /&gt;syntax error at -e line 1, near "&amp;lt;:"&lt;BR /&gt;Can't find string terminator "=" anywhere before EOF at -e line 1.</description>
      <pubDate>Wed, 16 Apr 2008 13:26:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-the-list-of-files-which-created-in-specific-time/m-p/5103779#M91195</guid>
      <dc:creator>OFC_EDM</dc:creator>
      <dc:date>2008-04-16T13:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need the list of files which created in specific time</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-the-list-of-files-which-created-in-specific-time/m-p/5103780#M91196</link>
      <description>Correction &lt;BR /&gt;&lt;BR /&gt;doesn work on hpux 11.11&lt;BR /&gt;&lt;BR /&gt;on my 11.23 system it does th is&lt;BR /&gt;&lt;BR /&gt;# /usr/bin/perl -MFile::Find -le 'find(sub{print $File::Find::name if -f $_ &amp;amp;&amp;amp; -M _ &amp;lt;:q= 1/24},@ARGV)' /tmp&lt;BR /&gt;syntax error at -e line 1, near "&amp;lt;:"&lt;BR /&gt;Can't find string terminator "=" anywhere before EOF at -e line 1.</description>
      <pubDate>Wed, 16 Apr 2008 13:28:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-the-list-of-files-which-created-in-specific-time/m-p/5103780#M91196</guid>
      <dc:creator>OFC_EDM</dc:creator>
      <dc:date>2008-04-16T13:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Need the list of files which created in specific time</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-the-list-of-files-which-created-in-specific-time/m-p/5103781#M91197</link>
      <description>hi James&lt;BR /&gt;Thanks for ur reply&lt;BR /&gt;I have 11.11 version of HP-Ux. So will it run on the same?&lt;BR /&gt;And can I add this line in may script?&lt;BR /&gt;Another one is , Is there any cmd shows the files modified in last one hour in perticular directory&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 16 Apr 2008 13:36:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-the-list-of-files-which-created-in-specific-time/m-p/5103781#M91197</guid>
      <dc:creator>VVS</dc:creator>
      <dc:date>2008-04-16T13:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Need the list of files which created in specific time</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-the-list-of-files-which-created-in-specific-time/m-p/5103782#M91198</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Vasu: I have 11.11 version of HP-Ux. So will it run on the same?&lt;BR /&gt;&lt;BR /&gt;Yes, Perl should have been part of your 11i installation and hence my script will run.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Vasu:  Is there any cmd shows the files modified in last one hour in perticular directory?&lt;BR /&gt;&lt;BR /&gt;Yes, this is the original script I posted for you.  Simply pass the name of the directory you want to examine as the argument to the script.  In the example I showd, I used '/path' as a generic argument label.  You could use '/home' or '/home/vasu' or anything that is a directory.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; O'Kevin: Copy-and-paste my post and provide the directory or directories you are interested in examining as arguments.  The absence of any output means that there were no files meeting the criteria.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 16 Apr 2008 13:50:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-the-list-of-files-which-created-in-specific-time/m-p/5103782#M91198</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-04-16T13:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Need the list of files which created in specific time</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-the-list-of-files-which-created-in-specific-time/m-p/5103783#M91199</link>
      <description>hi &lt;BR /&gt;I got following error on my system&lt;BR /&gt;Can't locate File/Find.pm in @INC (@INC contains: /opt/perl5/lib/5.00502/PA-RISC1.1 /opt/perl5/lib/5.00502 /opt/perl5/lib/site_perl/5.005/PA-RISC1.1 /opt/perl5/lib/site_perl/5.005 .).&lt;BR /&gt;BEGIN failed--compilation aborted.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please provide solution&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Apr 2008 15:29:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-the-list-of-files-which-created-in-specific-time/m-p/5103783#M91199</guid>
      <dc:creator>VVS</dc:creator>
      <dc:date>2008-04-16T15:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Need the list of files which created in specific time</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-the-list-of-files-which-created-in-specific-time/m-p/5103784#M91200</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I got following error on my system&lt;BR /&gt;Can't locate File/Find.pm in @INC (@INC contains: /opt/perl5/lib/5.00502/PA-RISC1.1 /opt/perl5/lib/5.00502 /opt/perl5/lib/site_perl/5.005/PA-&lt;BR /&gt;&lt;BR /&gt;You have a very old Perl on your server.  The 'File::Find' module wasn't part of the Perl Core distribution at that time.&lt;BR /&gt;&lt;BR /&gt;I suggest that you download and install a current Perl.  No reboot is necessary!&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=PERL" target="_blank"&gt;http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=PERL&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;...and if per chance this is an old 10.20 system, Merijn has a Perl for that:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://mirrors.develooper.com/hpux/downloads.html" target="_blank"&gt;http://mirrors.develooper.com/hpux/downloads.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Perl 5.8.8 is an excellent version for production.  Perl 5.10 was recently released too.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 16 Apr 2008 15:42:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-the-list-of-files-which-created-in-specific-time/m-p/5103784#M91200</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-04-16T15:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Need the list of files which created in specific time</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-the-list-of-files-which-created-in-specific-time/m-p/5103785#M91201</link>
      <description>Touch a reference file (say /tmp/ref_file) with a specific timestamp that corresponds to approx 1 hr ago using:&lt;BR /&gt;touch -t CCYYMMDDhhmm.SS /tmp/ref_file&lt;BR /&gt;&lt;BR /&gt;run a find:&lt;BR /&gt;find start_dir -type f -newer /tmp/ref_file&lt;BR /&gt;&lt;BR /&gt;as per "man find":&lt;BR /&gt;-newer file              True if the current file has been modified more recently than the argument file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Apr 2008 13:44:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-the-list-of-files-which-created-in-specific-time/m-p/5103785#M91201</guid>
      <dc:creator>Rangarajan Radhakrishna</dc:creator>
      <dc:date>2008-04-25T13:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Need the list of files which created in specific time</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-the-list-of-files-which-created-in-specific-time/m-p/5103786#M91202</link>
      <description>&amp;gt; Rangarajan :&lt;BR /&gt;&lt;BR /&gt;Why resurrect a 10-day old thread that has a bunny and for which your alternate proposal was first suggested by someone else on the opening day?&lt;BR /&gt;&lt;BR /&gt;While 'find -newer ...' certainly works, it doesn't provide the moving window of time yielded by the Perl snippet I showed.  Of course, you could wrap a 'touch' and a 'find' in a small shell script that creates the reference point; performs the 'find' and then removes the (then) useless reference file.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 25 Apr 2008 13:54:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-the-list-of-files-which-created-in-specific-time/m-p/5103786#M91202</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-04-25T13:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Need the list of files which created in specific time</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-the-list-of-files-which-created-in-specific-time/m-p/5103787#M91203</link>
      <description>Thanks all of you for your information</description>
      <pubDate>Mon, 28 Apr 2008 09:28:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-the-list-of-files-which-created-in-specific-time/m-p/5103787#M91203</guid>
      <dc:creator>VVS</dc:creator>
      <dc:date>2008-04-28T09:28:31Z</dc:date>
    </item>
  </channel>
</rss>

