<?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: Cannot delete directory! in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-directory/m-p/3376113#M196552</link>
    <description>May be there are some control characters in the directory name&lt;BR /&gt;&lt;BR /&gt;# echo * | cat -v &lt;BR /&gt;&lt;BR /&gt;Look for any control characters displayed&lt;BR /&gt;&lt;BR /&gt;# rm -rf *application*&lt;BR /&gt;&lt;BR /&gt;this should work&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 09 Sep 2004 17:36:10 GMT</pubDate>
    <dc:creator>Sundar_7</dc:creator>
    <dc:date>2004-09-09T17:36:10Z</dc:date>
    <item>
      <title>Cannot delete directory!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-directory/m-p/3376112#M196551</link>
      <description>I have a directory (named application) on a  B.11.11 U 9000/800 system that I cannot do anything with.&lt;BR /&gt;&lt;BR /&gt;drwx------   5 root       sys             96 Sep  9 14:55 application&lt;BR /&gt;&lt;BR /&gt;I cannot get into the directory - &lt;BR /&gt;# cd application&lt;BR /&gt;sh: application:  not found.&lt;BR /&gt;&lt;BR /&gt;I cannot creat a subdirectory - &lt;BR /&gt;# mkdir /application/test&lt;BR /&gt;dir: cannot access /application: No such file or directory&lt;BR /&gt;&lt;BR /&gt;and rm -Rf does not remove it and returns no errors. How can I get rid of this directory? &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Sep 2004 17:32:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-directory/m-p/3376112#M196551</guid>
      <dc:creator>Robert Finley</dc:creator>
      <dc:date>2004-09-09T17:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot delete directory!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-directory/m-p/3376113#M196552</link>
      <description>May be there are some control characters in the directory name&lt;BR /&gt;&lt;BR /&gt;# echo * | cat -v &lt;BR /&gt;&lt;BR /&gt;Look for any control characters displayed&lt;BR /&gt;&lt;BR /&gt;# rm -rf *application*&lt;BR /&gt;&lt;BR /&gt;this should work&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Sep 2004 17:36:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-directory/m-p/3376113#M196552</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-09-09T17:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot delete directory!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-directory/m-p/3376114#M196553</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Looks like there are some special characters attached to the name. I usually try to use wild characters if possible to get rid of them. Try various combinations and see if any of them work. For ex.,&lt;BR /&gt;&lt;BR /&gt;#ll -d applica*&lt;BR /&gt;#ll -d *plicat*&lt;BR /&gt;&lt;BR /&gt;Make sure which combination works and then move it to another directory&lt;BR /&gt;&lt;BR /&gt;#mkdir junk&lt;BR /&gt;#mv *plicat* junk&lt;BR /&gt;#cd junk&lt;BR /&gt;#ll&lt;BR /&gt;&lt;BR /&gt;(make sure it is only the directory that is appearing) then remove the directory&lt;BR /&gt;&lt;BR /&gt;#cd ..&lt;BR /&gt;# rm -rf junk&lt;BR /&gt;&lt;BR /&gt;You can simply remove it in one step with just the wildcards, all the above steps are to ensure that you do not accidentally delete anything.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Sep 2004 17:37:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-directory/m-p/3376114#M196553</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-09-09T17:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot delete directory!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-directory/m-p/3376115#M196554</link>
      <description>Bingo! &lt;BR /&gt;Great job. Thanks.</description>
      <pubDate>Thu, 09 Sep 2004 17:38:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-directory/m-p/3376115#M196554</guid>
      <dc:creator>Robert Finley</dc:creator>
      <dc:date>2004-09-09T17:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot delete directory!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-directory/m-p/3376116#M196555</link>
      <description>What was the problem Robert ? :-)</description>
      <pubDate>Thu, 09 Sep 2004 17:38:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-directory/m-p/3376116#M196555</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-09-09T17:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot delete directory!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-directory/m-p/3376117#M196556</link>
      <description>Hello&lt;BR /&gt;&lt;BR /&gt;Another quick way to do this would be&lt;BR /&gt;&lt;BR /&gt;ll -i (note the inode number)&lt;BR /&gt;&lt;BR /&gt;find . -inum &lt;INODE number=""&gt; -exec rm {} \;&lt;BR /&gt;&lt;BR /&gt;Steve &lt;BR /&gt;&lt;/INODE&gt;</description>
      <pubDate>Thu, 09 Sep 2004 17:44:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-directory/m-p/3376117#M196556</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2004-09-09T17:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot delete directory!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-directory/m-p/3376118#M196557</link>
      <description>But if you have some other filesystem mounted under your current directory, then it is likely that more than one file will match the INUM and thus you might end up deleting files otherwise you dont want to delete.</description>
      <pubDate>Thu, 09 Sep 2004 17:50:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-directory/m-p/3376118#M196557</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-09-09T17:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot delete directory!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-directory/m-p/3376119#M196558</link>
      <description>use the -xdev option then&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Sep 2004 18:19:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-directory/m-p/3376119#M196558</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2004-09-09T18:19:15Z</dc:date>
    </item>
  </channel>
</rss>

