<?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: removing file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-file/m-p/2744996#M944313</link>
    <description>Andi,&lt;BR /&gt;&lt;BR /&gt;You can either use rm -i with a wild card (*) and answer no to all the files you're not after or you can do ls &amp;gt; file then edit the file to remove all the files you don't want to remove and put the rm in front of the ones you do.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Fri, 14 Jun 2002 13:23:49 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2002-06-14T13:23:49Z</dc:date>
    <item>
      <title>removing file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-file/m-p/2744994#M944311</link>
      <description>Hi guys,&lt;BR /&gt;&lt;BR /&gt;I have several files that were created with ^M at the end.&lt;BR /&gt;&lt;BR /&gt;I can see the file, but when I do rm -rf dirName, it says dirName is not found.&lt;BR /&gt;&lt;BR /&gt;If I try to cd dirName I have the same message.&lt;BR /&gt;&lt;BR /&gt;How can I force to remove those files?&lt;BR /&gt;&lt;BR /&gt;Thank you!</description>
      <pubDate>Fri, 14 Jun 2002 13:19:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-file/m-p/2744994#M944311</guid>
      <dc:creator>andi_1</dc:creator>
      <dc:date>2002-06-14T13:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: removing file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-file/m-p/2744995#M944312</link>
      <description>try:&lt;BR /&gt;&lt;BR /&gt;rm -i part.of.file.name*&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;rm -i *&lt;BR /&gt;&lt;BR /&gt;type "n" until you get prompted for the file, then type "y".&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Marty</description>
      <pubDate>Fri, 14 Jun 2002 13:22:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-file/m-p/2744995#M944312</guid>
      <dc:creator>Martin Johnson</dc:creator>
      <dc:date>2002-06-14T13:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: removing file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-file/m-p/2744996#M944313</link>
      <description>Andi,&lt;BR /&gt;&lt;BR /&gt;You can either use rm -i with a wild card (*) and answer no to all the files you're not after or you can do ls &amp;gt; file then edit the file to remove all the files you don't want to remove and put the rm in front of the ones you do.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 14 Jun 2002 13:23:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-file/m-p/2744996#M944313</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-06-14T13:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: removing file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-file/m-p/2744997#M944314</link>
      <description>&lt;BR /&gt;Try rm -ir dirName*&lt;BR /&gt;&lt;BR /&gt;# mkdir hdhd^M                                                          &lt;BR /&gt;# ls -l|grep hdhd  &lt;BR /&gt;drwxrwxrwx   2 root       sys             96 Jun 14 10:13 hdhd&lt;BR /&gt;# rm -rf hdhd*&lt;BR /&gt;# ls -l hdhd  &lt;BR /&gt;hdhd not found&lt;BR /&gt;# ls -l hdhd* &lt;BR /&gt;hdhd* not found&lt;BR /&gt;# &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Fri, 14 Jun 2002 13:24:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-file/m-p/2744997#M944314</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-06-14T13:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: removing file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-file/m-p/2744998#M944315</link>
      <description>Using wildcard characters, you can do the task:&lt;BR /&gt;&lt;BR /&gt;# cd dir_path&lt;BR /&gt;# rm -i * ( delete the ones you wanted to, when prompted)</description>
      <pubDate>Fri, 14 Jun 2002 13:25:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-file/m-p/2744998#M944315</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-06-14T13:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: removing file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-file/m-p/2744999#M944316</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you could try rm -rf dirname* where dirname is only part of the real directoryname (without the ^M).&lt;BR /&gt;&lt;BR /&gt;You can also use rm -rf "dirname". Where dirname is the full directoryname including the ^M. You should be able to produce the ^M with:&lt;BR /&gt;&lt;BR /&gt;&lt;CTRL&gt;-&lt;V&gt; &lt;CTRL&gt;-&lt;M&gt; or&lt;BR /&gt;&lt;CTRL&gt;-&lt;V&gt; &lt;CTRL&gt;-&lt;RETURN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Regards Stefan&lt;/RETURN&gt;&lt;/CTRL&gt;&lt;/V&gt;&lt;/CTRL&gt;&lt;/M&gt;&lt;/CTRL&gt;&lt;/V&gt;&lt;/CTRL&gt;</description>
      <pubDate>Fri, 14 Jun 2002 13:25:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-file/m-p/2744999#M944316</guid>
      <dc:creator>Stefan Schulz</dc:creator>
      <dc:date>2002-06-14T13:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: removing file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-file/m-p/2745000#M944317</link>
      <description>Hi Andi,&lt;BR /&gt;&lt;BR /&gt;Try this,&lt;BR /&gt;&lt;BR /&gt;ls &amp;gt;test_file&lt;BR /&gt;vi test_file, remove unwanted entries. For the ones you want to remove, add rm in the front for the files and rm -r or rmdir for the directories. then execute this file,&lt;BR /&gt;&lt;BR /&gt;sh test_file&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Jun 2002 13:36:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-file/m-p/2745000#M944317</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-06-14T13:36:57Z</dc:date>
    </item>
  </channel>
</rss>

