<?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 uncompressing from anywere other than /tmp directory in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-uncompressing-from-anywere-other-than-tmp-directory/m-p/7037489#M602020</link>
    <description>&lt;P&gt;&amp;gt; I have instructions [...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I can't see them from here.&lt;/P&gt;&lt;P&gt;&amp;gt; [...] to uncompress a tar file. [...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; And then do what?&amp;nbsp; If the (invisible) instructions tell you to do&lt;BR /&gt;something involving a "/tmp" path, then you'll need to adjust them if&lt;BR /&gt;you extract the archive in some other place.&lt;/P&gt;&lt;P&gt;&amp;gt; [...] Can I uncompress the tar file in it's current directory?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; "its", but sure -- anywhere you want (if you have write permission&lt;BR /&gt;there, and it has enough space).&lt;/P&gt;&lt;P&gt;&amp;gt; [...] can I execute /dbms/peter/HPD/tar -xvf hpe_ltt426_hpux.tar [...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Probably not.&amp;nbsp; I doubt that the "tar" program will be found at&lt;BR /&gt;"/dbms/peter/HPD/tar".&amp;nbsp; What you could do would be something like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cd /dbms/peter/HPD/&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tar -xvf hpe_ltt426_hpux.tar&lt;/P&gt;&lt;P&gt;&amp;gt; [...] /tmp/tar -xvf hpe_ltt426_hpux.tar [...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Similarly (as I assume that the (invisible) instructions suggest):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; cd /tmp&lt;BR /&gt;&amp;nbsp;&amp;nbsp; tar -xvf hpe_ltt426_hpux.tar&lt;/P&gt;&lt;P&gt;&amp;gt; [...] and have the same results as [...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Essentially, except that the extracted files would be in a different&lt;BR /&gt;place.&amp;nbsp; Depending on what's in /dbms/peter/HPD/ and how the archive was&lt;BR /&gt;constructed, it might make some sense to extract the archive contents&lt;BR /&gt;into a clean, new directory, and then work with them there.&amp;nbsp; For&lt;BR /&gt;example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cd /dbms/peter/HPD/&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mkdir tmp&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cd tmp #&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOT "/tmp"!&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tar -xvf ../hpe_ltt426_hpux.tar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Then, when you're finished, you could delete (or do whatever you want&lt;BR /&gt;with) the whole "/dbms/peter/HPD/tmp" tree, and you shouldn't have&lt;BR /&gt;any/much new clutter in "/dbms/peter/HPD".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; For a good time:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tar -tvf hpe_ltt426_hpux.tar&lt;/P&gt;&lt;P&gt;and see if the archive was built with a top-level directory.&amp;nbsp; If all its&lt;BR /&gt;member files have paths like, say:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hpe_ltt426_hpux/file_name1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hpe_ltt426_hpux/file_name2&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hpe_ltt426_hpux/dir3/file_name3&lt;/P&gt;&lt;P&gt;and so on, instead of, say:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file_name1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file_name2&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dir3/file_name3&lt;/P&gt;&lt;P&gt;then you wouldn't need to create a clean, new ("tmp") directory to&lt;BR /&gt;isolate the archive contents, because that way they would all be in that&lt;BR /&gt;(new) "hpe_ltt426_hpux" directory.&lt;/P&gt;</description>
    <pubDate>Thu, 07 Mar 2019 20:16:43 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2019-03-07T20:16:43Z</dc:date>
    <item>
      <title>Help with uncompressing from anywere other than /tmp directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-uncompressing-from-anywere-other-than-tmp-directory/m-p/7037467#M602019</link>
      <description>&lt;P&gt;Hello group!&lt;BR /&gt;I'm not a Unix guru and always ask questions before attenting something new.&lt;/P&gt;&lt;P&gt;I have instructions to uncompress a tar file. The tar file is currently in a unix folder /dbms/peter/HPD/hpe_ltt426_hpux.tar. The instructions call to have the tar file in the /tmp directory and use tar -xvf hpe_ltt426_hpux.tar to uncompress. The tar file is too big to copy into the /tmp directory. Can I uncompress the tar file in it's current directory? In other words, can I execute /dbms/peter/HPD/tar -xvf hpe_ltt426_hpux.tar and have the same results as /tmp/tar -xvf hpe_ltt426_hpux.tar ?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Peter G&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 15:31:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-uncompressing-from-anywere-other-than-tmp-directory/m-p/7037467#M602019</guid>
      <dc:creator>AlliedUser</dc:creator>
      <dc:date>2019-03-07T15:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: Help with uncompressing from anywere other than /tmp directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-uncompressing-from-anywere-other-than-tmp-directory/m-p/7037489#M602020</link>
      <description>&lt;P&gt;&amp;gt; I have instructions [...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I can't see them from here.&lt;/P&gt;&lt;P&gt;&amp;gt; [...] to uncompress a tar file. [...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; And then do what?&amp;nbsp; If the (invisible) instructions tell you to do&lt;BR /&gt;something involving a "/tmp" path, then you'll need to adjust them if&lt;BR /&gt;you extract the archive in some other place.&lt;/P&gt;&lt;P&gt;&amp;gt; [...] Can I uncompress the tar file in it's current directory?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; "its", but sure -- anywhere you want (if you have write permission&lt;BR /&gt;there, and it has enough space).&lt;/P&gt;&lt;P&gt;&amp;gt; [...] can I execute /dbms/peter/HPD/tar -xvf hpe_ltt426_hpux.tar [...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Probably not.&amp;nbsp; I doubt that the "tar" program will be found at&lt;BR /&gt;"/dbms/peter/HPD/tar".&amp;nbsp; What you could do would be something like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cd /dbms/peter/HPD/&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tar -xvf hpe_ltt426_hpux.tar&lt;/P&gt;&lt;P&gt;&amp;gt; [...] /tmp/tar -xvf hpe_ltt426_hpux.tar [...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Similarly (as I assume that the (invisible) instructions suggest):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; cd /tmp&lt;BR /&gt;&amp;nbsp;&amp;nbsp; tar -xvf hpe_ltt426_hpux.tar&lt;/P&gt;&lt;P&gt;&amp;gt; [...] and have the same results as [...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Essentially, except that the extracted files would be in a different&lt;BR /&gt;place.&amp;nbsp; Depending on what's in /dbms/peter/HPD/ and how the archive was&lt;BR /&gt;constructed, it might make some sense to extract the archive contents&lt;BR /&gt;into a clean, new directory, and then work with them there.&amp;nbsp; For&lt;BR /&gt;example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cd /dbms/peter/HPD/&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mkdir tmp&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cd tmp #&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOT "/tmp"!&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tar -xvf ../hpe_ltt426_hpux.tar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Then, when you're finished, you could delete (or do whatever you want&lt;BR /&gt;with) the whole "/dbms/peter/HPD/tmp" tree, and you shouldn't have&lt;BR /&gt;any/much new clutter in "/dbms/peter/HPD".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; For a good time:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tar -tvf hpe_ltt426_hpux.tar&lt;/P&gt;&lt;P&gt;and see if the archive was built with a top-level directory.&amp;nbsp; If all its&lt;BR /&gt;member files have paths like, say:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hpe_ltt426_hpux/file_name1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hpe_ltt426_hpux/file_name2&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hpe_ltt426_hpux/dir3/file_name3&lt;/P&gt;&lt;P&gt;and so on, instead of, say:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file_name1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file_name2&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dir3/file_name3&lt;/P&gt;&lt;P&gt;then you wouldn't need to create a clean, new ("tmp") directory to&lt;BR /&gt;isolate the archive contents, because that way they would all be in that&lt;BR /&gt;(new) "hpe_ltt426_hpux" directory.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 20:16:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-uncompressing-from-anywere-other-than-tmp-directory/m-p/7037489#M602020</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2019-03-07T20:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help with uncompressing from anywere other than /tmp directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-uncompressing-from-anywere-other-than-tmp-directory/m-p/7038698#M602021</link>
      <description>&lt;P&gt;Steve, thank you for your response. I heard from HPE support and they told me that the uncompressing must be performed fro the /tmp directory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Peter G&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 16:04:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-uncompressing-from-anywere-other-than-tmp-directory/m-p/7038698#M602021</guid>
      <dc:creator>AlliedUser</dc:creator>
      <dc:date>2019-03-18T16:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help with uncompressing from anywere other than /tmp directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-uncompressing-from-anywere-other-than-tmp-directory/m-p/7038730#M602022</link>
      <description>&lt;P&gt;&amp;gt; [...] I heard from HPE support and they told me that the uncompressing&lt;BR /&gt;&amp;gt; must be performed fro the /tmp directory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Sounds to me like drivel.&amp;nbsp; Did you believe them?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; My Google search for that file name found one (and a&lt;BR /&gt;"hpe_ltt426_hpux_1131.tar", which might be newer?), so I fetched a copy,&lt;BR /&gt;and looked at it.&amp;nbsp; I see:&lt;/P&gt;&lt;P&gt;pro3$ tar tfv hpe_ltt426_hpux.tar&lt;BR /&gt;-rw-r--r-- 0 root sys 368650240 Mar 14 2018 ./HPE_LTT426.depot&lt;BR /&gt;-rwxr--r-- 0 root sys 1798 Mar 14 2018 ./install_hpeltt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; That is, one giant depot and a short installation script.&amp;nbsp; I don't see&lt;BR /&gt;"tmp" anywhere in that script:&lt;/P&gt;&lt;P&gt;pro3$ tar xfv hpe_ltt426_hpux.tar ./install_hpeltt&lt;BR /&gt;x ./install_hpeltt&lt;/P&gt;&lt;P&gt;pro3$ grep tmp ./install_hpeltt&lt;BR /&gt;pro3$&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I also tried installing it (the "1131" edition):&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;dyi# uname -a
HP-UX dyi B.11.31 U ia64 4235313755 unlimited-user license
                        
dyi# pwd                # Note: Not "/tmp".
/usr/patch/hpeltt/hpe_ltt426_hpux_1131

dyi# ls -l
total 720144
-rw-r--r--   1 root       sys        368701440 Mar 14  2018 HPE_LTT426.depot
-rwxr--r--   1 root       sys           1798 Mar 14  2018 install_hpeltt

dyi# ./install_hpeltt
Installing HPE Library and Tape Tools...
 
Install requires approximately 25MB of free space under /opt
Beginning swinstall process of HPE_LTT to /opt/ltt/

=======  03/18/19 13:18:44 CDT  BEGIN swinstall SESSION
         (non-interactive) (jobid=dyi-0085)

       * Session started for user "root@dyi".
         
       * Beginning Selection
       * Target connection succeeded for "dyi:/".
       * Source:
         /usr/patch/hpeltt/hpe_ltt426_hpux_1131/HPE_LTT426.depot
       * Targets:                dyi:/
       * Software selections:
             HPE_LTT426.HPE_LTT426,r=4.26.0.9,a=S700/800_HPUX_10/11,v=HPE
       * Selection succeeded.
         
         
       * Beginning Analysis and Execution
       * Session selections have been saved in the file
         "/root/.sw/sessions/swinstall.last".
       * "dyi:/":  There will be no attempt to mount filesystems that
         appear in the filesystem table.
       * The execution phase succeeded for "dyi:/".
       * Analysis and Execution succeeded.
         
NOTE:    More information may be found in the agent logfile using the
         command "swjob -a log dyi-0085 @ dyi:/".

=======  03/18/19 13:18:55 CDT  END swinstall SESSION (non-interactive)
         (jobid=dyi-0085)

dyi#&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; I rest my case.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 18:35:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-uncompressing-from-anywere-other-than-tmp-directory/m-p/7038730#M602022</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2019-03-18T18:35:44Z</dc:date>
    </item>
  </channel>
</rss>

