<?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: Script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4333009#M342383</link>
    <description>With a zsh shell:&lt;BR /&gt;&lt;BR /&gt;#rm */**(.m+45)</description>
    <pubDate>Wed, 07 Jan 2009 10:37:25 GMT</pubDate>
    <dc:creator>likid0</dc:creator>
    <dc:date>2009-01-07T10:37:25Z</dc:date>
    <item>
      <title>Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4333006#M342380</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Would you please help me by provide a script which will help me out to &lt;BR /&gt;1) Find the file older then 45 days in all the sub directories under a main directory and delete them&lt;BR /&gt;2) also capture a log fo ref.</description>
      <pubDate>Wed, 07 Jan 2009 07:16:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4333006#M342380</guid>
      <dc:creator>Eric Jacklin</dc:creator>
      <dc:date>2009-01-07T07:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4333007#M342381</link>
      <description>&amp;gt;&amp;gt;Find the file older then 45 days in all the sub directories under a main directory and delete them&lt;BR /&gt;&lt;BR /&gt;#find . -type f ! -mtime -45 -exec rm {} \;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;also capture a log fo ref.&lt;BR /&gt;&lt;BR /&gt;#find . -type f ! -mtime -45 -exec rm {} \; &amp;gt; rm_log.log</description>
      <pubDate>Wed, 07 Jan 2009 07:30:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4333007#M342381</guid>
      <dc:creator>Jeeshan</dc:creator>
      <dc:date>2009-01-07T07:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4333008#M342382</link>
      <description>for example, you want to delete files older than 45 days in /usr/openv/netbackup/prod_rman_scripts/CTRL&lt;BR /&gt;&lt;BR /&gt;# find /usr/openv/netbackup/prod_rman_scripts/CTRL -mtime +45 -exec rm {}&lt;BR /&gt;&lt;BR /&gt;under main directory:&lt;BR /&gt;# find /usr/openv/* -mtime +45 -exec rm {}&lt;BR /&gt;&lt;BR /&gt;thx,&lt;BR /&gt;&lt;BR /&gt;-yut-</description>
      <pubDate>Wed, 07 Jan 2009 07:31:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4333008#M342382</guid>
      <dc:creator>yulianto piyut</dc:creator>
      <dc:date>2009-01-07T07:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4333009#M342383</link>
      <description>With a zsh shell:&lt;BR /&gt;&lt;BR /&gt;#rm */**(.m+45)</description>
      <pubDate>Wed, 07 Jan 2009 10:37:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4333009#M342383</guid>
      <dc:creator>likid0</dc:creator>
      <dc:date>2009-01-07T10:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4333010#M342384</link>
      <description>You should be able to combine ahsan's and yut's solutions:&lt;BR /&gt;find path -type f -mtime +45 -print -exec rm -f {} + &amp;gt; rm_log.log</description>
      <pubDate>Wed, 07 Jan 2009 10:43:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4333010#M342384</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-01-07T10:43:39Z</dc:date>
    </item>
  </channel>
</rss>

