<?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: tar with absolute patch in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/tar-with-absolute-patch/m-p/3889639#M64985</link>
    <description>On Linux, GNU tar will remove leading '/'.&lt;BR /&gt;&lt;BR /&gt;#tar xf mw.tar&lt;BR /&gt;tar: Removing leading `/' from member names&lt;BR /&gt;&lt;BR /&gt;Don't be root.&lt;BR /&gt;There is a special option for not removing leading '.' (-P, check manpage).&lt;BR /&gt;&lt;BR /&gt;JP</description>
    <pubDate>Wed, 01 Nov 2006 01:31:25 GMT</pubDate>
    <dc:creator>Jeroen Peereboom</dc:creator>
    <dc:date>2006-11-01T01:31:25Z</dc:date>
    <item>
      <title>tar with absolute patch</title>
      <link>https://community.hpe.com/t5/operating-system-linux/tar-with-absolute-patch/m-p/3889637#M64983</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a tar file &lt;BR /&gt;xx.tar&lt;BR /&gt;It contains files with absolute path such as&lt;BR /&gt;/Arr/bla/tra/myfile.txt&lt;BR /&gt;/Arr/bla/tra/myfile1.txt&lt;BR /&gt;/Arr/bla/tra/myfile2.txt&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I need to extract files from tar and put them in another directory such as :&lt;BR /&gt;/XX/YY/TT&lt;BR /&gt;how can I do so ?&lt;BR /&gt;&lt;BR /&gt;many thanks&lt;BR /&gt;Angelo&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 31 Oct 2006 04:07:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/tar-with-absolute-patch/m-p/3889637#M64983</guid>
      <dc:creator>angelo_11</dc:creator>
      <dc:date>2006-10-31T04:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: tar with absolute patch</title>
      <link>https://community.hpe.com/t5/operating-system-linux/tar-with-absolute-patch/m-p/3889638#M64984</link>
      <description>Howdy,&lt;BR /&gt;If you can't dereference the absolute pathname how about creating a symbolic link with the path that the tar file is expecting? Make the symlink point to where you actually want the files to appear then delete the link after wards.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Ian</description>
      <pubDate>Tue, 31 Oct 2006 17:26:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/tar-with-absolute-patch/m-p/3889638#M64984</guid>
      <dc:creator>Ian Vaughan</dc:creator>
      <dc:date>2006-10-31T17:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: tar with absolute patch</title>
      <link>https://community.hpe.com/t5/operating-system-linux/tar-with-absolute-patch/m-p/3889639#M64985</link>
      <description>On Linux, GNU tar will remove leading '/'.&lt;BR /&gt;&lt;BR /&gt;#tar xf mw.tar&lt;BR /&gt;tar: Removing leading `/' from member names&lt;BR /&gt;&lt;BR /&gt;Don't be root.&lt;BR /&gt;There is a special option for not removing leading '.' (-P, check manpage).&lt;BR /&gt;&lt;BR /&gt;JP</description>
      <pubDate>Wed, 01 Nov 2006 01:31:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/tar-with-absolute-patch/m-p/3889639#M64985</guid>
      <dc:creator>Jeroen Peereboom</dc:creator>
      <dc:date>2006-11-01T01:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: tar with absolute patch</title>
      <link>https://community.hpe.com/t5/operating-system-linux/tar-with-absolute-patch/m-p/3889640#M64986</link>
      <description>Shalom Angelo,&lt;BR /&gt;&lt;BR /&gt;Yes.&lt;BR /&gt;&lt;BR /&gt;options:&lt;BR /&gt;mv the tar file to the top of the absolute path and tar xvf it there.&lt;BR /&gt;&lt;BR /&gt;-C directory option at unzip time.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;  tar -xvf foo.tar -C bar/&lt;BR /&gt;&lt;BR /&gt;Its all from the man page because I don't trust my memory.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Nov 2006 01:32:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/tar-with-absolute-patch/m-p/3889640#M64986</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-11-01T01:32:53Z</dc:date>
    </item>
  </channel>
</rss>

