<?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 Problem remove file with special character in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-remove-file-with-special-character/m-p/2950311#M115804</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We had accidently created a file with "-" character in front of a file name.&lt;BR /&gt;&lt;BR /&gt;Eg) A file name called "-B", we couldn't find a way to delete this file. Even when we tried to use the following methods, but none of them works:&lt;BR /&gt;# rm "-B"&lt;BR /&gt;# rm "\-B"&lt;BR /&gt;&lt;BR /&gt;Could anyone suggest the method to overcome the above problem? Thank you in advance.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Melvin</description>
    <pubDate>Mon, 14 Apr 2003 07:25:41 GMT</pubDate>
    <dc:creator>Melvin Thong</dc:creator>
    <dc:date>2003-04-14T07:25:41Z</dc:date>
    <item>
      <title>Problem remove file with special character</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-remove-file-with-special-character/m-p/2950311#M115804</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We had accidently created a file with "-" character in front of a file name.&lt;BR /&gt;&lt;BR /&gt;Eg) A file name called "-B", we couldn't find a way to delete this file. Even when we tried to use the following methods, but none of them works:&lt;BR /&gt;# rm "-B"&lt;BR /&gt;# rm "\-B"&lt;BR /&gt;&lt;BR /&gt;Could anyone suggest the method to overcome the above problem? Thank you in advance.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Melvin</description>
      <pubDate>Mon, 14 Apr 2003 07:25:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-remove-file-with-special-character/m-p/2950311#M115804</guid>
      <dc:creator>Melvin Thong</dc:creator>
      <dc:date>2003-04-14T07:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem remove file with special character</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-remove-file-with-special-character/m-p/2950312#M115805</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;# rm -- -b&lt;BR /&gt;or&lt;BR /&gt;# rm -- "-b"&lt;BR /&gt;&lt;BR /&gt;Robert-Jan.</description>
      <pubDate>Mon, 14 Apr 2003 07:29:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-remove-file-with-special-character/m-p/2950312#M115805</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2003-04-14T07:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem remove file with special character</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-remove-file-with-special-character/m-p/2950313#M115806</link>
      <description>Hi Melvin,&lt;BR /&gt;&lt;BR /&gt;One way I've got rid of files with special characters in the past is to first of all make sure I had a good backup then done rm -i * and answered yes to the file I want to get rid of, no to others.&lt;BR /&gt;&lt;BR /&gt;There is probably a "safer" way of doing it.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Hilary&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Apr 2003 07:29:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-remove-file-with-special-character/m-p/2950313#M115806</guid>
      <dc:creator>BFA6</dc:creator>
      <dc:date>2003-04-14T07:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem remove file with special character</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-remove-file-with-special-character/m-p/2950314#M115807</link>
      <description>Hi Melvin,&lt;BR /&gt;&lt;BR /&gt;Run this -&lt;BR /&gt;&lt;BR /&gt;$ rm -- -B&lt;BR /&gt;&lt;BR /&gt;-- signifies end of options.&lt;BR /&gt;&lt;BR /&gt;- ramd.</description>
      <pubDate>Mon, 14 Apr 2003 07:29:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-remove-file-with-special-character/m-p/2950314#M115807</guid>
      <dc:creator>Ramkumar Devanathan</dc:creator>
      <dc:date>2003-04-14T07:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem remove file with special character</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-remove-file-with-special-character/m-p/2950315#M115808</link>
      <description>Hi Melvin,&lt;BR /&gt;&lt;BR /&gt;In these case I use the CDE-filemanager, and remove it with the mouse. Easy and simple.&lt;BR /&gt;&lt;BR /&gt;Greetzz&lt;BR /&gt;Donald</description>
      <pubDate>Mon, 14 Apr 2003 07:29:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-remove-file-with-special-character/m-p/2950315#M115808</guid>
      <dc:creator>Donald Kok</dc:creator>
      <dc:date>2003-04-14T07:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem remove file with special character</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-remove-file-with-special-character/m-p/2950316#M115809</link>
      <description>ls -li&lt;BR /&gt;&lt;BR /&gt;This will give you the inum, for instance inum 980.&lt;BR /&gt;&lt;BR /&gt;Then&lt;BR /&gt;&lt;BR /&gt;find . -inum 980 -exec rm -i {} \;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Apr 2003 07:30:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-remove-file-with-special-character/m-p/2950316#M115809</guid>
      <dc:creator>Tore_1</dc:creator>
      <dc:date>2003-04-14T07:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem remove file with special character</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-remove-file-with-special-character/m-p/2950317#M115810</link>
      <description>Hi,&lt;BR /&gt;# rm ./-B&lt;BR /&gt;should also work&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;John K.</description>
      <pubDate>Mon, 14 Apr 2003 07:36:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-remove-file-with-special-character/m-p/2950317#M115810</guid>
      <dc:creator>john korterman</dc:creator>
      <dc:date>2003-04-14T07:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem remove file with special character</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-remove-file-with-special-character/m-p/2950318#M115811</link>
      <description>If the name is significant i.e the only one with the same starting letter &lt;BR /&gt;&lt;BR /&gt;rm *B* &lt;BR /&gt;&lt;BR /&gt;TJS</description>
      <pubDate>Tue, 15 Apr 2003 11:37:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-remove-file-with-special-character/m-p/2950318#M115811</guid>
      <dc:creator>Tim Sanko</dc:creator>
      <dc:date>2003-04-15T11:37:25Z</dc:date>
    </item>
  </channel>
</rss>

