<?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: File Find in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/file-find/m-p/3101911#M717439</link>
    <description>But that does not answer the timing issues.  I do not want to research the same dir. every 15 minutes?  Any suggestions on doing this?</description>
    <pubDate>Fri, 24 Oct 2003 15:52:46 GMT</pubDate>
    <dc:creator>Mike Van Hoff</dc:creator>
    <dc:date>2003-10-24T15:52:46Z</dc:date>
    <item>
      <title>File Find</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-find/m-p/3101909#M717437</link>
      <description>I hope I can outline this clearly the first time. I have been asked to create a script to do the following: &lt;BR /&gt;&lt;BR /&gt;Search a series of Directories that have been created withing 15 minutes of the current system time for a dynamic file name that ends in (dot)out .out. &lt;BR /&gt;If a file with that extension is found, search the file for the word "error". &lt;BR /&gt;If error is found, send an email to a data center operator. &lt;BR /&gt;If the word is NOT found, do nothing. &lt;BR /&gt;I believe I can handle items 3 and 4, but I am looking for help and suggestions in accomplishing item 1. &lt;BR /&gt;&lt;BR /&gt;Thanks in Advance. &lt;BR /&gt;</description>
      <pubDate>Fri, 24 Oct 2003 14:41:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-find/m-p/3101909#M717437</guid>
      <dc:creator>Mike Van Hoff</dc:creator>
      <dc:date>2003-10-24T14:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: File Find</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-find/m-p/3101910#M717438</link>
      <description>The find command has the ability to locate files newer than the timestamp on a reference file. Simply use touch to create a dummy (zero-length) file that is 15 minutes old, then use i&lt;BR /&gt; &lt;BR /&gt;find  -newer &lt;REFERENCE-FILE&gt; -name '*out.out'&lt;BR /&gt; &lt;BR /&gt;Note that find (unlike most commands) knows about pattern matching so escape the shell's expansion using single quotes.&lt;/REFERENCE-FILE&gt;</description>
      <pubDate>Fri, 24 Oct 2003 14:58:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-find/m-p/3101910#M717438</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-10-24T14:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: File Find</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-find/m-p/3101911#M717439</link>
      <description>But that does not answer the timing issues.  I do not want to research the same dir. every 15 minutes?  Any suggestions on doing this?</description>
      <pubDate>Fri, 24 Oct 2003 15:52:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-find/m-p/3101911#M717439</guid>
      <dc:creator>Mike Van Hoff</dc:creator>
      <dc:date>2003-10-24T15:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: File Find</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-find/m-p/3101912#M717440</link>
      <description>"perl -le 'print scalar localtime time - 900'"&lt;BR /&gt;&lt;BR /&gt;will give you the current time - 15 minutes.&lt;BR /&gt;&lt;BR /&gt;...combine that with a recursive check of the time stamps of your directories, and you should be able to find any files that have been created within 15 minutes of your running the script.</description>
      <pubDate>Fri, 24 Oct 2003 17:41:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-find/m-p/3101912#M717440</guid>
      <dc:creator>James A. Donovan</dc:creator>
      <dc:date>2003-10-24T17:41:48Z</dc:date>
    </item>
  </channel>
</rss>

