<?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: Help with old user cleanup in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-old-user-cleanup/m-p/2488517#M19170</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;for this purpose i would recommend cpio:&lt;BR /&gt;&lt;BR /&gt;find / -name xxxx | cpio -oc | gzip -c &amp;gt;userfiles.cpio.gz&lt;BR /&gt;&lt;BR /&gt;I have used gzip to reduce disk usage.&lt;BR /&gt;To restore something you could use:&lt;BR /&gt;&lt;BR /&gt;gzip -dc &amp;lt; userfiles.cpio.gz |cpio -imdvc &lt;PATTERN&gt;&lt;BR /&gt;&lt;BR /&gt;Regards &lt;BR /&gt;&lt;/PATTERN&gt;</description>
    <pubDate>Wed, 31 Jan 2001 15:23:44 GMT</pubDate>
    <dc:creator>Andreas Voss</dc:creator>
    <dc:date>2001-01-31T15:23:44Z</dc:date>
    <item>
      <title>Help with old user cleanup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-old-user-cleanup/m-p/2488513#M19166</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I am cleaning up old users off the HP-UX.  I can do:&lt;BR /&gt;find / -name xxxx&lt;BR /&gt;and list the files that they have created or have ownership to.  Is there a way to pipe this into a tar or similar command to create a single file with their old files before I run a find command to remove the files?</description>
      <pubDate>Wed, 31 Jan 2001 15:15:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-old-user-cleanup/m-p/2488513#M19166</guid>
      <dc:creator>Robert Butler_1</dc:creator>
      <dc:date>2001-01-31T15:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help with old user cleanup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-old-user-cleanup/m-p/2488514#M19167</link>
      <description>Hi Robert,&lt;BR /&gt;&lt;BR /&gt;find / -user xxxx | xargs tar cvf /dev/rmt/0m &lt;BR /&gt;should do the trick.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Dan</description>
      <pubDate>Wed, 31 Jan 2001 15:20:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-old-user-cleanup/m-p/2488514#M19167</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2001-01-31T15:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Help with old user cleanup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-old-user-cleanup/m-p/2488515#M19168</link>
      <description>How about this:&lt;BR /&gt;&lt;BR /&gt;find / -name xxx -exec mv {} /newdir/dir/ \;&lt;BR /&gt;&lt;BR /&gt;/rcw</description>
      <pubDate>Wed, 31 Jan 2001 15:20:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-old-user-cleanup/m-p/2488515#M19168</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2001-01-31T15:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Help with old user cleanup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-old-user-cleanup/m-p/2488516#M19169</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;Forgot to mention that with the -user option, if the next argument isn't a login name, it will be taken as numeric.&lt;BR /&gt;This is useful if you remove files from users already deleted from /etc/passwd.&lt;BR /&gt;&lt;BR /&gt;All the best,&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;</description>
      <pubDate>Wed, 31 Jan 2001 15:23:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-old-user-cleanup/m-p/2488516#M19169</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2001-01-31T15:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help with old user cleanup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-old-user-cleanup/m-p/2488517#M19170</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;for this purpose i would recommend cpio:&lt;BR /&gt;&lt;BR /&gt;find / -name xxxx | cpio -oc | gzip -c &amp;gt;userfiles.cpio.gz&lt;BR /&gt;&lt;BR /&gt;I have used gzip to reduce disk usage.&lt;BR /&gt;To restore something you could use:&lt;BR /&gt;&lt;BR /&gt;gzip -dc &amp;lt; userfiles.cpio.gz |cpio -imdvc &lt;PATTERN&gt;&lt;BR /&gt;&lt;BR /&gt;Regards &lt;BR /&gt;&lt;/PATTERN&gt;</description>
      <pubDate>Wed, 31 Jan 2001 15:23:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-old-user-cleanup/m-p/2488517#M19170</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2001-01-31T15:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Help with old user cleanup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-old-user-cleanup/m-p/2488518#M19171</link>
      <description>Thank you all.&lt;BR /&gt;&lt;BR /&gt;I think I'll go with Dan's approach and put to a tar file which I'll gzip up.  Once all the old users files are created I can move them to tape.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 31 Jan 2001 15:28:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-old-user-cleanup/m-p/2488518#M19171</guid>
      <dc:creator>Robert Butler_1</dc:creator>
      <dc:date>2001-01-31T15:28:04Z</dc:date>
    </item>
  </channel>
</rss>

