<?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: Using tar to extract a group of specific files from archive in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/using-tar-to-extract-a-group-of-specific-files-from-archive/m-p/3129426#M8191</link>
    <description>Hi Andrew,&lt;BR /&gt;&lt;BR /&gt;first should work, but use "*.extension&lt;BR /&gt;", so that the shell doesnt expand the *.&lt;BR /&gt;&lt;BR /&gt;greetings,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 26 Nov 2003 11:31:10 GMT</pubDate>
    <dc:creator>Michael Schulte zur Sur</dc:creator>
    <dc:date>2003-11-26T11:31:10Z</dc:date>
    <item>
      <title>Using tar to extract a group of specific files from archive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/using-tar-to-extract-a-group-of-specific-files-from-archive/m-p/3129424#M8189</link>
      <description>If I want to extract a group of files from a tar archive that have a specific extension, which, if either will work, of the following methods should I use?&lt;BR /&gt;&lt;BR /&gt;1. tar xvf /path/to/device/file *.extension&lt;BR /&gt;&lt;BR /&gt;2.&lt;BR /&gt;  a.tar -tvf /path/to/device/file &amp;gt; filename.txt&lt;BR /&gt;  b.vi ./filename.txt and remove any file that    does not have the extension&lt;BR /&gt;  c.sh -c 'tar xvf /path/to/device/file $(cat ./filename.txt)'</description>
      <pubDate>Wed, 26 Nov 2003 10:39:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/using-tar-to-extract-a-group-of-specific-files-from-archive/m-p/3129424#M8189</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2003-11-26T10:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using tar to extract a group of specific files from archive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/using-tar-to-extract-a-group-of-specific-files-from-archive/m-p/3129425#M8190</link>
      <description>the first will sure work...</description>
      <pubDate>Wed, 26 Nov 2003 10:55:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/using-tar-to-extract-a-group-of-specific-files-from-archive/m-p/3129425#M8190</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2003-11-26T10:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Using tar to extract a group of specific files from archive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/using-tar-to-extract-a-group-of-specific-files-from-archive/m-p/3129426#M8191</link>
      <description>Hi Andrew,&lt;BR /&gt;&lt;BR /&gt;first should work, but use "*.extension&lt;BR /&gt;", so that the shell doesnt expand the *.&lt;BR /&gt;&lt;BR /&gt;greetings,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Nov 2003 11:31:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/using-tar-to-extract-a-group-of-specific-files-from-archive/m-p/3129426#M8191</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2003-11-26T11:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using tar to extract a group of specific files from archive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/using-tar-to-extract-a-group-of-specific-files-from-archive/m-p/3129427#M8192</link>
      <description>Just to clarify the previous post.&lt;BR /&gt; &lt;BR /&gt;Because the shell will expand the "*" before tar actually runs, if you have a lot of files with the ".extension" extension in your current directory, tar will try and extract those files from the archive instead of files in the archive with that extension.</description>
      <pubDate>Thu, 27 Nov 2003 02:31:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/using-tar-to-extract-a-group-of-specific-files-from-archive/m-p/3129427#M8192</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2003-11-27T02:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Using tar to extract a group of specific files from archive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/using-tar-to-extract-a-group-of-specific-files-from-archive/m-p/3129428#M8193</link>
      <description>And that is why option 2 might be the better of the two. That way you are sure the shell won't interfere with what you are trying to do. Especially since you need to use single quotes, not double, if you want to keep the shell out of it ;-)&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Nov 2003 08:55:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/using-tar-to-extract-a-group-of-specific-files-from-archive/m-p/3129428#M8193</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2003-11-27T08:55:58Z</dc:date>
    </item>
  </channel>
</rss>

