<?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: Deleting crazy directory in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-crazy-directory/m-p/3389821#M199003</link>
    <description>I suppose you also followed the suggestion about fuser -cu directory_name.&lt;BR /&gt;&lt;BR /&gt;Please try to see if it's in /etc/xtab, also.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Marco</description>
    <pubDate>Thu, 30 Sep 2004 03:29:51 GMT</pubDate>
    <dc:creator>mario ferrari</dc:creator>
    <dc:date>2004-09-30T03:29:51Z</dc:date>
    <item>
      <title>Deleting crazy directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-crazy-directory/m-p/3389814#M198996</link>
      <description>Hi fellows!&lt;BR /&gt;&lt;BR /&gt;This one is for the clever and smart HP-UXers...&lt;BR /&gt;&lt;BR /&gt;I have a directory which structure seems to be quite messy. I can't remove it, since it complains about not being empty. I can't remove the file's inside it either.&lt;BR /&gt;&lt;BR /&gt;It seems that some ingenious user managed to send  a windows directory to my HP box. :)&lt;BR /&gt;&lt;BR /&gt;But the real chalenge is that I can't use the obvious fsck to try to fix it, since the filesystem cannot be dismounted (at least in near future).&lt;BR /&gt;&lt;BR /&gt;Anyone knows a filesystem tool capable of do the trick?&lt;BR /&gt;&lt;BR /&gt;Thank you all!&lt;BR /&gt;Alexandre.</description>
      <pubDate>Wed, 29 Sep 2004 08:59:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-crazy-directory/m-p/3389814#M198996</guid>
      <dc:creator>Alexandre W. Agostini_1</dc:creator>
      <dc:date>2004-09-29T08:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting crazy directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-crazy-directory/m-p/3389815#M198997</link>
      <description>Hi Alexandre,&lt;BR /&gt;&lt;BR /&gt;Go into that dir &amp;amp; do a &lt;BR /&gt;rm -i *&lt;BR /&gt;and answer yes to all the files. You probably have a file in there with unprintable characters. Then when it's empty you ought to be able to remove the directory.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Wed, 29 Sep 2004 09:02:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-crazy-directory/m-p/3389815#M198997</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-09-29T09:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting crazy directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-crazy-directory/m-p/3389816#M198998</link>
      <description>If it's Windows files it's possible you can't delete them because they've got spaces in the filenames. I've encountered this many times and the solution is simple:&lt;BR /&gt;&lt;BR /&gt;Say for example you want to delete "file one". "rm file one" will fail because of the space but "rm fil*" will work.&lt;BR /&gt;&lt;BR /&gt;Make sure you've got rm aliased to "rm -i" in case rm removes files you want to keep.&lt;BR /&gt;&lt;BR /&gt;Mark Syder (like the drink but spelt different)</description>
      <pubDate>Wed, 29 Sep 2004 09:04:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-crazy-directory/m-p/3389816#M198998</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2004-09-29T09:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting crazy directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-crazy-directory/m-p/3389817#M198999</link>
      <description>go into the directory and do&lt;BR /&gt;\rm -rif *&lt;BR /&gt;then cd ..&lt;BR /&gt;and \rm -rf directory name&lt;BR /&gt;&lt;BR /&gt;-Goodluck&lt;BR /&gt;Govind</description>
      <pubDate>Wed, 29 Sep 2004 09:04:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-crazy-directory/m-p/3389817#M198999</guid>
      <dc:creator>Govind_3</dc:creator>
      <dc:date>2004-09-29T09:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting crazy directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-crazy-directory/m-p/3389818#M199000</link>
      <description>need not to worry .this directory might be mounted using cifs . try with a command &lt;BR /&gt; &lt;BR /&gt;  # fuser -u C /&lt;DIRECTORY name=""&gt;&lt;BR /&gt;if will give the users using it now try to unmount that particular widowns directory only . the guy might mount the the directory with in &lt;BR /&gt;a mounted directory .&lt;BR /&gt;try to see any cifs related dameons are running or not .&lt;BR /&gt;&lt;BR /&gt;thanks&lt;/DIRECTORY&gt;</description>
      <pubDate>Wed, 29 Sep 2004 09:06:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-crazy-directory/m-p/3389818#M199000</guid>
      <dc:creator>ramkumar</dc:creator>
      <dc:date>2004-09-29T09:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting crazy directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-crazy-directory/m-p/3389819#M199001</link>
      <description>Another thing to try is:&lt;BR /&gt;&lt;BR /&gt;find . -xdev -print -exec ll -i {} \;&lt;BR /&gt;&lt;BR /&gt;If this shows an inode number of say "674" in the first column then you could follow up with:&lt;BR /&gt;&lt;BR /&gt;find . -inum 674 rm {} \;&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Kent Ostby&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Sep 2004 09:16:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-crazy-directory/m-p/3389819#M199001</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2004-09-29T09:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting crazy directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-crazy-directory/m-p/3389820#M199002</link>
      <description>&lt;BR /&gt;Hehe, I apreciate the prompt responses. But I'm afraid my case is a little complicated.&lt;BR /&gt;&lt;BR /&gt;Some facts:&lt;BR /&gt;&lt;BR /&gt;1. rm variations don't work 'cause there's no file to remove. It exists only in the squizofreninc structure of the directory.&lt;BR /&gt;&lt;BR /&gt;2. That's also why taking the inode fails.&lt;BR /&gt;&lt;BR /&gt;3. I believe that a fsck should fix it, I can't umount the directory so can't fsck it, can I?&lt;BR /&gt;&lt;BR /&gt;4. Smart FTP clients also get trapped by the 'ghost file'.&lt;BR /&gt;&lt;BR /&gt;Any sugestions?</description>
      <pubDate>Wed, 29 Sep 2004 09:33:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-crazy-directory/m-p/3389820#M199002</guid>
      <dc:creator>Alexandre W. Agostini_1</dc:creator>
      <dc:date>2004-09-29T09:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting crazy directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-crazy-directory/m-p/3389821#M199003</link>
      <description>I suppose you also followed the suggestion about fuser -cu directory_name.&lt;BR /&gt;&lt;BR /&gt;Please try to see if it's in /etc/xtab, also.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Marco</description>
      <pubDate>Thu, 30 Sep 2004 03:29:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-crazy-directory/m-p/3389821#M199003</guid>
      <dc:creator>mario ferrari</dc:creator>
      <dc:date>2004-09-30T03:29:51Z</dc:date>
    </item>
  </channel>
</rss>

