<?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 help required in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/script-help-required/m-p/3649026#M102379</link>
    <description>Use mtime instead:&lt;BR /&gt;&lt;BR /&gt;cd /req_dir&lt;BR /&gt;find trans* -mtime +180 -exec rm{} \;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Thu, 13 Oct 2005 12:27:42 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2005-10-13T12:27:42Z</dc:date>
    <item>
      <title>script help required</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-help-required/m-p/3649025#M102378</link>
      <description>I would like to remove files &amp;gt;older than 180 days.&lt;BR /&gt;&lt;BR /&gt;For some reason, my syntax does not actually delete them&lt;BR /&gt;&lt;BR /&gt;The filenames are in the following format&lt;BR /&gt;&lt;BR /&gt;trans.20050601&lt;BR /&gt;&lt;BR /&gt;cd /req_dir&lt;BR /&gt;find trans* -atime +180 -exec rm{} \;&lt;BR /&gt;&lt;BR /&gt;Any suggestions?</description>
      <pubDate>Thu, 13 Oct 2005 12:25:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-help-required/m-p/3649025#M102378</guid>
      <dc:creator>Nick D'Angelo</dc:creator>
      <dc:date>2005-10-13T12:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: script help required</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-help-required/m-p/3649026#M102379</link>
      <description>Use mtime instead:&lt;BR /&gt;&lt;BR /&gt;cd /req_dir&lt;BR /&gt;find trans* -mtime +180 -exec rm{} \;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 13 Oct 2005 12:27:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-help-required/m-p/3649026#M102379</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-10-13T12:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: script help required</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-help-required/m-p/3649027#M102380</link>
      <description>Hi Nick:&lt;BR /&gt;&lt;BR /&gt;Your problem is that you need a space after the exec'd command and the curly braces.&lt;BR /&gt;&lt;BR /&gt;# find trans* -atime +180 -exec rm {} \;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 13 Oct 2005 12:30:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-help-required/m-p/3649027#M102380</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-10-13T12:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: script help required</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-help-required/m-p/3649028#M102381</link>
      <description>Hi,&lt;BR /&gt; &lt;BR /&gt;Sincerely I'm not sure on this, but I think you should put a blank space between "rm" and the brackets ( rm {} ... ).&lt;BR /&gt; &lt;BR /&gt;Regards,&lt;BR /&gt;Zigor</description>
      <pubDate>Thu, 13 Oct 2005 12:32:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-help-required/m-p/3649028#M102381</guid>
      <dc:creator>Zigor Buruaga</dc:creator>
      <dc:date>2005-10-13T12:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: script help required</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-help-required/m-p/3649029#M102382</link>
      <description>Team Effort , James and Peter,&lt;BR /&gt;&lt;BR /&gt;It was both the space and also the -mtime versus the -atime.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Nickd</description>
      <pubDate>Thu, 13 Oct 2005 12:35:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-help-required/m-p/3649029#M102382</guid>
      <dc:creator>Nick D'Angelo</dc:creator>
      <dc:date>2005-10-13T12:35:14Z</dc:date>
    </item>
  </channel>
</rss>

