<?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: want to remove file created by tar in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/want-to-remove-file-created-by-tar/m-p/5120137#M676002</link>
    <description>$pwd&lt;BR /&gt;/&lt;BR /&gt;$ cd "-C"&lt;BR /&gt;$ cd ..&lt;BR /&gt;$ rmdir -i "$OLDPWD"&lt;BR /&gt;&lt;BR /&gt;Will this make any sence?</description>
    <pubDate>Fri, 18 Jul 2008 08:55:49 GMT</pubDate>
    <dc:creator>Shrikant Lavhate</dc:creator>
    <dc:date>2008-07-18T08:55:49Z</dc:date>
    <item>
      <title>want to remove file created by tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/want-to-remove-file-created-by-tar/m-p/5120132#M675991</link>
      <description>hi experts,&lt;BR /&gt;&lt;BR /&gt;i was compressing a directory using following command.&lt;BR /&gt;&lt;BR /&gt;tar -cvf -C /aaa&lt;BR /&gt;&lt;BR /&gt;the filesystem got full and i had to terminate tar command before it will complete.&lt;BR /&gt;&lt;BR /&gt;a file -C is created under root file system which is occupying 56mb space. i tried to remove it using rm command but it does not work as file name is -C.&lt;BR /&gt;&lt;BR /&gt;please suggest, what will be solution for this issue, now root is 100% utilized.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;Roy</description>
      <pubDate>Fri, 18 Jul 2008 08:33:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/want-to-remove-file-created-by-tar/m-p/5120132#M675991</guid>
      <dc:creator>amipankaj</dc:creator>
      <dc:date>2008-07-18T08:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: want to remove file created by tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/want-to-remove-file-created-by-tar/m-p/5120133#M675992</link>
      <description>try:&lt;BR /&gt;rm \-C&lt;BR /&gt;or&lt;BR /&gt;rm -i *C and just say yes to the relevant file&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Jul 2008 08:41:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/want-to-remove-file-created-by-tar/m-p/5120133#M675992</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2008-07-18T08:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: want to remove file created by tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/want-to-remove-file-created-by-tar/m-p/5120134#M675994</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;What error you are getting?&lt;BR /&gt;&lt;BR /&gt;If file does not exist then you can check with any non-printable character in filename explained here : &lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1250600" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1250600&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If file is in use kinda error then make sure you have killed tar process completly.</description>
      <pubDate>Fri, 18 Jul 2008 08:45:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/want-to-remove-file-created-by-tar/m-p/5120134#M675994</guid>
      <dc:creator>Shrikant Lavhate</dc:creator>
      <dc:date>2008-07-18T08:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: want to remove file created by tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/want-to-remove-file-created-by-tar/m-p/5120135#M675997</link>
      <description>its giving following error.&lt;BR /&gt;&lt;BR /&gt;# rm -i *C&lt;BR /&gt;rm: illegal option -- C&lt;BR /&gt;Usage: rm [-Rfir] file ...&lt;BR /&gt;# rm \-C&lt;BR /&gt;rm: illegal option -- C&lt;BR /&gt;Usage: rm [-Rfir] file ...&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;here is the file...&lt;BR /&gt;&lt;BR /&gt;-rw-r--r--   1 root       sys        54059008 Jul 18 04:13 -C&lt;BR /&gt;&lt;BR /&gt;# pwd&lt;BR /&gt;/&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Jul 2008 08:49:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/want-to-remove-file-created-by-tar/m-p/5120135#M675997</guid>
      <dc:creator>amipankaj</dc:creator>
      <dc:date>2008-07-18T08:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: want to remove file created by tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/want-to-remove-file-created-by-tar/m-p/5120136#M676000</link>
      <description>Hi Roy,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can use the -- option with rm remove the file.&lt;BR /&gt;# rm -- -C&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Fri, 18 Jul 2008 08:53:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/want-to-remove-file-created-by-tar/m-p/5120136#M676000</guid>
      <dc:creator>Robert-Jan Goossens_1</dc:creator>
      <dc:date>2008-07-18T08:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: want to remove file created by tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/want-to-remove-file-created-by-tar/m-p/5120137#M676002</link>
      <description>$pwd&lt;BR /&gt;/&lt;BR /&gt;$ cd "-C"&lt;BR /&gt;$ cd ..&lt;BR /&gt;$ rmdir -i "$OLDPWD"&lt;BR /&gt;&lt;BR /&gt;Will this make any sence?</description>
      <pubDate>Fri, 18 Jul 2008 08:55:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/want-to-remove-file-created-by-tar/m-p/5120137#M676002</guid>
      <dc:creator>Shrikant Lavhate</dc:creator>
      <dc:date>2008-07-18T08:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: want to remove file created by tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/want-to-remove-file-created-by-tar/m-p/5120138#M676003</link>
      <description>hmm, just did some playing, created a file -C, and checked this method:&lt;BR /&gt;rm -- -C&lt;BR /&gt;This removed the file, so try that</description>
      <pubDate>Fri, 18 Jul 2008 08:59:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/want-to-remove-file-created-by-tar/m-p/5120138#M676003</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2008-07-18T08:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: want to remove file created by tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/want-to-remove-file-created-by-tar/m-p/5120139#M676004</link>
      <description>Thanks guys....&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;it works fine..</description>
      <pubDate>Fri, 18 Jul 2008 09:02:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/want-to-remove-file-created-by-tar/m-p/5120139#M676004</guid>
      <dc:creator>amipankaj</dc:creator>
      <dc:date>2008-07-18T09:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: want to remove file created by tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/want-to-remove-file-created-by-tar/m-p/5120140#M676005</link>
      <description>&amp;gt;Robert-Jan: You can use the -- option with rm remove the file.&lt;BR /&gt;&lt;BR /&gt;Yes, this "--" is Posix standard.  You can also use: rm ./-C&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Shrikant: What error you are getting?&lt;BR /&gt;&lt;BR /&gt;Files starting with a "-" are a different kettle of fish.</description>
      <pubDate>Fri, 18 Jul 2008 09:03:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/want-to-remove-file-created-by-tar/m-p/5120140#M676005</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-07-18T09:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: want to remove file created by tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/want-to-remove-file-created-by-tar/m-p/5120141#M676006</link>
      <description>thanks...</description>
      <pubDate>Fri, 18 Jul 2008 09:25:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/want-to-remove-file-created-by-tar/m-p/5120141#M676006</guid>
      <dc:creator>amipankaj</dc:creator>
      <dc:date>2008-07-18T09:25:23Z</dc:date>
    </item>
  </channel>
</rss>

