<?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: Blank Directory name in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/blank-directory-name/m-p/4108355#M312876</link>
    <description>ensure you supply your local directory to the find command when searching for/removing inodes.&lt;BR /&gt;&lt;BR /&gt;find /local/oracle -inum ...&lt;BR /&gt;&lt;BR /&gt;Also, before you -exec rm -rf, just execute the find command to list the files/inodes it finds to avoid deleting files by mistake</description>
    <pubDate>Tue, 27 Nov 2007 19:42:47 GMT</pubDate>
    <dc:creator>Kevin Wright</dc:creator>
    <dc:date>2007-11-27T19:42:47Z</dc:date>
    <item>
      <title>Blank Directory name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blank-directory-name/m-p/4108345#M312866</link>
      <description># ls -la&lt;BR /&gt;total 76&lt;BR /&gt;drwxr-xr-x  15 oracle     oinstall      1024 Nov 27 09:09 .&lt;BR /&gt;drwxr-xr-x   5 root       sys             96 Nov 16 14:41 ..&lt;BR /&gt;-rw-------   1 oracle     oinstall      6076 Nov 20 10:22 .bash_history&lt;BR /&gt;-rwxr--r--   1 oracle     oinstall      1311 Oct 11 10:57 .profile&lt;BR /&gt;-rw-------   1 oracle     oinstall      7468 Nov 27 09:33 .sh_history&lt;BR /&gt;drwx------   2 oracle     oinstall        96 Jun 21 13:11 .ssh&lt;BR /&gt;drwxrwx---   5 oracle     oinstall        96 May 10  2007 .sw&lt;BR /&gt;drwxr-xr-x   8 oracle     oinstall      1024 Jun  7 16:25 admin&lt;BR /&gt;-rw-r--r--   1 oracle     oinstall      4760 Sep  4 10:30 crontab.cfg&lt;BR /&gt;drwxr-xr-x   5 oracle     oinstall      1024 Sep 10 13:54 dbaadmin&lt;BR /&gt;-rw-r--r--   1 oracle     oinstall       588 Feb 23  2007 dbahome.txt&lt;BR /&gt;drwxr-xr-x   2 oracle     oinstall        96 Feb 23  2007&lt;BR /&gt;-rw-r--r--   1 oracle     oinstall      3181 Nov 19 02:00 dead.letter&lt;BR /&gt;drwxrwxr-x   6 oracle     oinstall      1024 Feb 23  2007 doc&lt;BR /&gt;drwxr-xr-x   5 oracle     oinstall        96 May 10  2007 install&lt;BR /&gt;drwxrwxr-x   3 oracle     oinstall        96 Feb 23  2007 jre&lt;BR /&gt;drwxr-xr-x   2 oracle     oinstall        96 Feb 21  2007 lost+found&lt;BR /&gt;drwxrwxr-x  13 oracle     oinstall      1024 Nov 19 14:02 oraInventory&lt;BR /&gt;drwxrwxr-x   6 oracle     oinstall      1024 Feb 23  2007 oui&lt;BR /&gt;drwxrwxr-x   4 oracle     oinstall        96 May 18  2007 product&lt;BR /&gt;-rwx--x--x   1 oracle     oinstall       658 Feb 23  2007 setupenvoracle.ksh&lt;BR /&gt;-rwx--x--x   1 oracle     oinstall      4076 Feb 23  2007 setupenvoracledba.ksh&lt;BR /&gt;-rwx--x--x   1 oracle     oinstall       714 Feb 23  2007 setupenvroot.ksh&lt;BR /&gt;drwxr-xr-x   2 oracle     oinstall        96 May 17  2007 work&lt;BR /&gt;root@prodsp1:/local/oracle&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Anyone know how to view or delete this blank directory?</description>
      <pubDate>Tue, 27 Nov 2007 11:23:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blank-directory-name/m-p/4108345#M312866</guid>
      <dc:creator>hpuxrox</dc:creator>
      <dc:date>2007-11-27T11:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Directory name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blank-directory-name/m-p/4108346#M312867</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;have you tried to use the graphical file manager?&lt;BR /&gt;&lt;BR /&gt;Volkmar&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Nov 2007 11:32:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blank-directory-name/m-p/4108346#M312867</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2007-11-27T11:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Directory name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blank-directory-name/m-p/4108347#M312868</link>
      <description>I assume it is this one?&lt;BR /&gt;drwxr-xr-x 2 oracle oinstall 96 Feb 23 2007&lt;BR /&gt;&lt;BR /&gt;You need to use "ll -b" to see the unprintable chars.  If you can type those chars, you can use mv(1) to rename it.&lt;BR /&gt;Otherwise you may have to move everything else out of the directory and try using "mv * dirname" to rename it.  (Provided "*" is replaced by one name.)</description>
      <pubDate>Tue, 27 Nov 2007 11:36:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blank-directory-name/m-p/4108347#M312868</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-11-27T11:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Directory name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blank-directory-name/m-p/4108348#M312869</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can use the rm -i * command and just run through answer 'n' to everything except your magic blank directory.&lt;BR /&gt;&lt;BR /&gt;Mike</description>
      <pubDate>Tue, 27 Nov 2007 11:36:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blank-directory-name/m-p/4108348#M312869</guid>
      <dc:creator>Mike Shilladay</dc:creator>
      <dc:date>2007-11-27T11:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Directory name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blank-directory-name/m-p/4108349#M312870</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Search for the inode and use find to remove the directory.&lt;BR /&gt;&lt;BR /&gt;$ mkdir " "&lt;BR /&gt;$ ls -li&lt;BR /&gt;total 40&lt;BR /&gt;43860076 drwxrwxrwx   2 BR   513           4096 Nov 27 11:37&lt;BR /&gt;43860036 drwx------   2 BR   513           4096 Aug 21 07:23 Mail&lt;BR /&gt;43860037 drwxrwxrwx   2 BR   513           4096 Aug 22 12:09 rj&lt;BR /&gt;43860041 drwxrwxrwx   4 BR   513           4096 Oct 18 09:53 rjg&lt;BR /&gt;43860039 drwxrwxrwx   2 BR   513           4096 Aug 25 05:54 tmp&lt;BR /&gt;$ find . -xdev -inum 43860076 -exec ls {} \;&lt;BR /&gt;$ find . -xdev -inum 43860076 -exec rm {} \;&lt;BR /&gt;rm: ./  directory&lt;BR /&gt;$ find . -xdev -inum 43860076 -exec rmdir {} \;&lt;BR /&gt;$ ls -li&lt;BR /&gt;total 32&lt;BR /&gt;43860036 drwx------   2 BR   513           4096 Aug 21 07:23 Mail&lt;BR /&gt;43860037 drwxrwxrwx   2 BR   513           4096 Aug 22 12:09 rj&lt;BR /&gt;43860041 drwxrwxrwx   4 BR   513           4096 Oct 18 09:53 rjg&lt;BR /&gt;43860039 drwxrwxrwx   2 BR   513           4096 Aug 25 05:54 tmp&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Tue, 27 Nov 2007 11:42:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blank-directory-name/m-p/4108349#M312870</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2007-11-27T11:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Directory name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blank-directory-name/m-p/4108350#M312871</link>
      <description>Get the inode num of the blank directory using ll(1) and then use find(1) with the "-inum" switch to remove that blank dir as follows:&lt;BR /&gt;&lt;BR /&gt;# ll -lbi&lt;BR /&gt;# find . -type d -inum &lt;INODE_NUM_OF_BLANK_DIR_FROM_ABOVE&gt; -exec rm -rf {} \;&lt;/INODE_NUM_OF_BLANK_DIR_FROM_ABOVE&gt;</description>
      <pubDate>Tue, 27 Nov 2007 12:01:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blank-directory-name/m-p/4108350#M312871</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2007-11-27T12:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Directory name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blank-directory-name/m-p/4108351#M312872</link>
      <description>ls -il&lt;BR /&gt;&lt;BR /&gt;That will give you the inodes...&lt;BR /&gt;&lt;BR /&gt;Then:&lt;BR /&gt;&lt;BR /&gt;find . -inum 555555 -exec rmdir {} \;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;where 555555 is the inode of the directory with no name...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Reminds me of that song...been to the desert on a horse with no name...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Tue, 27 Nov 2007 12:12:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blank-directory-name/m-p/4108351#M312872</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2007-11-27T12:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Directory name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blank-directory-name/m-p/4108352#M312873</link>
      <description>... but maybe the content should be checked first ....</description>
      <pubDate>Tue, 27 Nov 2007 12:24:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blank-directory-name/m-p/4108352#M312873</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2007-11-27T12:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Directory name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blank-directory-name/m-p/4108353#M312874</link>
      <description>Sometimes I find that there are unprintable characters in the filename. Do the following&lt;BR /&gt;&lt;BR /&gt;ls -l &amp;gt;&amp;gt;file1&lt;BR /&gt;&lt;BR /&gt;Edit file1 with vi so only the filename is there.&lt;BR /&gt;To check do &lt;BR /&gt;&lt;BR /&gt;ls -la `cat file1`&lt;BR /&gt;&lt;BR /&gt;If this works then &lt;BR /&gt;rm -r `cat file1`&lt;BR /&gt;&lt;BR /&gt;Cheers John</description>
      <pubDate>Tue, 27 Nov 2007 15:23:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blank-directory-name/m-p/4108353#M312874</guid>
      <dc:creator>John McWilliams_1</dc:creator>
      <dc:date>2007-11-27T15:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Directory name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blank-directory-name/m-p/4108354#M312875</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Be advised that inode numbers are only unique within a filesystem!  Hence, you would NOT want to do:&lt;BR /&gt;&lt;BR /&gt;# find / -inum 1234 -exec rm -rf {} \+&lt;BR /&gt;&lt;BR /&gt;...since this would destroy every file or directory with an inode number of '1234' in EVERY MOUNTED filesystem (i.e. '/var', '/usr', etc.)&lt;BR /&gt;&lt;BR /&gt;Instead, do:&lt;BR /&gt;&lt;BR /&gt;# find / -xdev -inum 1234 -exec rm -rf {} \+&lt;BR /&gt;&lt;BR /&gt;...to CONFINE the search to the filesystem specified.&lt;BR /&gt;&lt;BR /&gt;For that matter, it is good practice to impose an interactive remove like:&lt;BR /&gt;&lt;BR /&gt;# find / -xdev -inum 1234 -exec rm -ri {} \+&lt;BR /&gt;&lt;BR /&gt;...to be safe.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 27 Nov 2007 16:09:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blank-directory-name/m-p/4108354#M312875</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-11-27T16:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Directory name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blank-directory-name/m-p/4108355#M312876</link>
      <description>ensure you supply your local directory to the find command when searching for/removing inodes.&lt;BR /&gt;&lt;BR /&gt;find /local/oracle -inum ...&lt;BR /&gt;&lt;BR /&gt;Also, before you -exec rm -rf, just execute the find command to list the files/inodes it finds to avoid deleting files by mistake</description>
      <pubDate>Tue, 27 Nov 2007 19:42:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blank-directory-name/m-p/4108355#M312876</guid>
      <dc:creator>Kevin Wright</dc:creator>
      <dc:date>2007-11-27T19:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Directory name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/blank-directory-name/m-p/4108356#M312877</link>
      <description>Instead of trying to remove it, the first effort should be trying to rename it as Volkmar and I have suggested.  That way you don't have to do all of these complex finds.&lt;BR /&gt;&lt;BR /&gt;If your directory has a space, you can simply quote it.  Once I had a file with a DEL.  I simply typed that, since DEL isn't special for my shell setup.</description>
      <pubDate>Tue, 27 Nov 2007 22:30:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/blank-directory-name/m-p/4108356#M312877</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-11-27T22:30:21Z</dc:date>
    </item>
  </channel>
</rss>

