<?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 command options in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-options/m-p/3866684#M277643</link>
    <description>tar is extremely old (decades) and it's command line design defines the first item is the key. The - is optional but it is not like any other command where -tvf is the same as -t -v -f. Also, the file you specify may be optionally followed by -C directory, again non-standard. The man page explains this.&lt;BR /&gt; &lt;BR /&gt;tar's only use is for simple exchanges of data. It is inappropriate for full system backups or large system backups.</description>
    <pubDate>Wed, 20 Sep 2006 16:55:14 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2006-09-20T16:55:14Z</dc:date>
    <item>
      <title>tar command options</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-options/m-p/3866679#M277638</link>
      <description>Why does the syntax for tar different from syntax for every other hpux command?&lt;BR /&gt;&lt;BR /&gt;Case in point, you are supposed to say &lt;BR /&gt;tar xvf &lt;BR /&gt;and not&lt;BR /&gt;tar -xvf&lt;BR /&gt;&lt;BR /&gt;Every other command precedes its option or switches with "-", for example rm, cp, find and more.&lt;BR /&gt;&lt;BR /&gt;I've always said&lt;BR /&gt;&lt;BR /&gt;tar -xvf&lt;BR /&gt;and &lt;BR /&gt;tar -cvf&lt;BR /&gt;without any problems.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Sep 2006 14:49:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-options/m-p/3866679#M277638</guid>
      <dc:creator>dictum9</dc:creator>
      <dc:date>2006-09-20T14:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: tar command options</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-options/m-p/3866680#M277639</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;You can use either:&lt;BR /&gt;&lt;BR /&gt;# tar -xvf&lt;BR /&gt;&lt;BR /&gt;(or):&lt;BR /&gt;&lt;BR /&gt;# tar -xvf&lt;BR /&gt;&lt;BR /&gt;Personally, I use the "-" character to denote the switch that the options that follow represent.&lt;BR /&gt;&lt;BR /&gt;The best answer I can provide to your question of why the "-" is optional is that 'tar' is one very old utility; written when conformity and standards were less rigorously enforced or valued.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 20 Sep 2006 14:54:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-options/m-p/3866680#M277639</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-09-20T14:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: tar command options</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-options/m-p/3866681#M277640</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;You can both of them "tar tvf" or tar -tvf. I am not sure why other commands doesn't allow you to do this. &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Wed, 20 Sep 2006 14:58:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-options/m-p/3866681#M277640</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-09-20T14:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: tar command options</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-options/m-p/3866682#M277641</link>
      <description># tar&lt;BR /&gt;tar: usage  tar [-]{txruc}[eONvVwAfblhm{op}][0-7[lmh]] [tapefile] [blocksize] [[-C directory] file] ...&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;There is the "-" in the syntax and since the command works very well without the "-" give me more flexibility !!&lt;BR /&gt;&lt;BR /&gt;As JRF said, most people are used to typing&lt;BR /&gt;tar -cvf or tar -xvf ...</description>
      <pubDate>Wed, 20 Sep 2006 15:05:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-options/m-p/3866682#M277641</guid>
      <dc:creator>Pupil_1</dc:creator>
      <dc:date>2006-09-20T15:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: tar command options</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-options/m-p/3866683#M277642</link>
      <description>Normally if you use the "-" way, you must specify the argument for the option right after the option, for example, these commands are equivalent:&lt;BR /&gt;&lt;BR /&gt;tar -cvf /dev/rmt/0m -b 1024 /&lt;BR /&gt;&lt;BR /&gt;tar cvfb /dev/rmt/0m 1024 /</description>
      <pubDate>Wed, 20 Sep 2006 15:40:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-options/m-p/3866683#M277642</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-09-20T15:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: tar command options</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-options/m-p/3866684#M277643</link>
      <description>tar is extremely old (decades) and it's command line design defines the first item is the key. The - is optional but it is not like any other command where -tvf is the same as -t -v -f. Also, the file you specify may be optionally followed by -C directory, again non-standard. The man page explains this.&lt;BR /&gt; &lt;BR /&gt;tar's only use is for simple exchanges of data. It is inappropriate for full system backups or large system backups.</description>
      <pubDate>Wed, 20 Sep 2006 16:55:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-options/m-p/3866684#M277643</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-09-20T16:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: tar command options</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-options/m-p/3866685#M277644</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;as a remark to Bill's answer:&lt;BR /&gt;If you have a real heterogenous environment and must exchange backup files between them, 'tar' is nearly unbeatable as backup backend utility, IMHO.&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Thu, 21 Sep 2006 01:33:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command-options/m-p/3866685#M277644</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2006-09-21T01:33:06Z</dc:date>
    </item>
  </channel>
</rss>

