<?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 find and exec in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/find-and-exec/m-p/4373708#M347616</link>
    <description>Hi All,&lt;BR /&gt;I have been running a find command with exec rm ..for a files owned by particular user.but the files are too many as 150,000 .it really takes much longer for this command to complete.&lt;BR /&gt;both diskactivity and sar oout put shows very lil activity.any idea would be appreciated</description>
    <pubDate>Sat, 07 Mar 2009 02:51:31 GMT</pubDate>
    <dc:creator>navin</dc:creator>
    <dc:date>2009-03-07T02:51:31Z</dc:date>
    <item>
      <title>find and exec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-and-exec/m-p/4373708#M347616</link>
      <description>Hi All,&lt;BR /&gt;I have been running a find command with exec rm ..for a files owned by particular user.but the files are too many as 150,000 .it really takes much longer for this command to complete.&lt;BR /&gt;both diskactivity and sar oout put shows very lil activity.any idea would be appreciated</description>
      <pubDate>Sat, 07 Mar 2009 02:51:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-and-exec/m-p/4373708#M347616</guid>
      <dc:creator>navin</dc:creator>
      <dc:date>2009-03-07T02:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: find and exec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-and-exec/m-p/4373709#M347617</link>
      <description>There's not a whole lot you can do.&lt;BR /&gt;&lt;BR /&gt;A way to get a little more efficiency would be to do&lt;BR /&gt;&lt;BR /&gt;# find /dir -type f -user username -exec rm -f {} +&lt;BR /&gt;&lt;BR /&gt;Note the '+'.  This will allow the exec to be more efficient by grou[ing files to delete rather than just doing one at a time.&lt;BR /&gt;&lt;BR /&gt;Still, 150,000 files will take a while.&lt;BR /&gt;</description>
      <pubDate>Sat, 07 Mar 2009 03:01:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-and-exec/m-p/4373709#M347617</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-03-07T03:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: find and exec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-and-exec/m-p/4373710#M347618</link>
      <description>this problem has started recently .no much difference in the counts of the files ..problem started last week.&lt;BR /&gt;anyways thanks for the reply and any more idea is welcome&lt;BR /&gt;thanks</description>
      <pubDate>Sat, 07 Mar 2009 03:07:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-and-exec/m-p/4373710#M347618</guid>
      <dc:creator>navin</dc:creator>
      <dc:date>2009-03-07T03:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: find and exec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-and-exec/m-p/4373711#M347619</link>
      <description>If you can control where the files are located, have them on a separate filesystem, then simply: &lt;BR /&gt;umount&lt;BR /&gt;newfs&lt;BR /&gt;mount&lt;BR /&gt;&lt;BR /&gt;Takes a matter of minutes at most.</description>
      <pubDate>Sat, 07 Mar 2009 04:16:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-and-exec/m-p/4373711#M347619</guid>
      <dc:creator>Mark McDonald_2</dc:creator>
      <dc:date>2009-03-07T04:16:56Z</dc:date>
    </item>
  </channel>
</rss>

