<?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 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/2491324#M19541</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;tar cvf ../tarfile $(lsf | grep -v "/" | sed 's/*//')&lt;BR /&gt;&lt;BR /&gt;Make sure you put your tarfile at some other place to avoid "archiving the archive"&lt;BR /&gt;You need 'sed' to suppress the asterix given by 'lsf'&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;</description>
    <pubDate>Thu, 08 Feb 2001 10:53:42 GMT</pubDate>
    <dc:creator>Dan Hetzel</dc:creator>
    <dc:date>2001-02-08T10:53:42Z</dc:date>
    <item>
      <title>Tar Command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/2491323#M19540</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;How to take backup only file from a folder.&lt;BR /&gt;&lt;BR /&gt;Examle &lt;BR /&gt;&lt;BR /&gt;I got a folder /u01/home/test&lt;BR /&gt;                     /u01/home/test/file1&lt;BR /&gt;                      /u01/home/test/file2&lt;BR /&gt;                      /u01/home/test/file3&lt;BR /&gt;                      /u01/home/test/dir1&lt;BR /&gt;                      /u01/home/test/dir2&lt;BR /&gt;&lt;BR /&gt;I would like to use tar command only t take Backu of files in test folder. All sub directories shoudl not be backedup&lt;BR /&gt;&lt;BR /&gt;Any Help ?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 08 Feb 2001 10:33:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/2491323#M19540</guid>
      <dc:creator>DK Raviraja</dc:creator>
      <dc:date>2001-02-08T10:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Tar Command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/2491324#M19541</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;tar cvf ../tarfile $(lsf | grep -v "/" | sed 's/*//')&lt;BR /&gt;&lt;BR /&gt;Make sure you put your tarfile at some other place to avoid "archiving the archive"&lt;BR /&gt;You need 'sed' to suppress the asterix given by 'lsf'&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Feb 2001 10:53:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/2491324#M19541</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2001-02-08T10:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Tar Command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/2491325#M19542</link>
      <description>&lt;BR /&gt;If you want to backup your data in a file you can use:&lt;BR /&gt;&lt;BR /&gt;cd DIR&lt;BR /&gt;touch tarfile&lt;BR /&gt;&lt;BR /&gt;tar cvf ./tarfile $(ls -p | grep -v "/")&lt;BR /&gt;&lt;BR /&gt;if you want to backup in a tape :&lt;BR /&gt;&lt;BR /&gt;tar cvf /dev/rmt/0m $(ls -p | grep -v "/")&lt;BR /&gt;&lt;BR /&gt;Bye&lt;BR /&gt;federico&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Feb 2001 11:56:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/2491325#M19542</guid>
      <dc:creator>federico_3</dc:creator>
      <dc:date>2001-02-08T11:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Tar Command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/2491326#M19543</link>
      <description>Hi !&lt;BR /&gt;&lt;BR /&gt;try:&lt;BR /&gt;tar cvf backupfile $(ll | grep -v ^d | awk ' { print $NF } ' )&lt;BR /&gt;&lt;BR /&gt;regards, Saa</description>
      <pubDate>Thu, 08 Feb 2001 12:22:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/2491326#M19543</guid>
      <dc:creator>Sandor Horvath_2</dc:creator>
      <dc:date>2001-02-08T12:22:06Z</dc:date>
    </item>
  </channel>
</rss>

