<?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: Problems removing file with special characters in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-removing-file-with-special-characters/m-p/4469521#M361010</link>
    <description>I would:&lt;BR /&gt;&lt;BR /&gt;1) Do an 'ls -labi' and make a note of the inode number&lt;BR /&gt;&lt;BR /&gt;2) find . -inum &lt;INODE number=""&gt; -exec ls -labi {} \;   &lt;BR /&gt;to make sure it is the correct file.  If it is, then&lt;BR /&gt;&lt;BR /&gt;3) find . -inum &lt;INODE number=""&gt; -exec rm {} \;&lt;BR /&gt;&lt;BR /&gt;&lt;/INODE&gt;&lt;/INODE&gt;</description>
    <pubDate>Wed, 29 Jul 2009 18:40:33 GMT</pubDate>
    <dc:creator>Patrick Wallek</dc:creator>
    <dc:date>2009-07-29T18:40:33Z</dc:date>
    <item>
      <title>Problems removing file with special characters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-removing-file-with-special-characters/m-p/4469519#M361008</link>
      <description>&lt;BR /&gt;Any idea how to remove this?  It doesn't show up with "ls -l"&lt;BR /&gt;&lt;BR /&gt;/etc/rc.config.d#: ls -lab | tail -1&lt;BR /&gt;-rw-------   1 root       sys           8371 Jun  4 15:38 \177\177\177&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Jul 2009 18:36:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-removing-file-with-special-characters/m-p/4469519#M361008</guid>
      <dc:creator>dictum9</dc:creator>
      <dc:date>2009-07-29T18:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problems removing file with special characters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-removing-file-with-special-characters/m-p/4469520#M361009</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;on this link a very good howto.&lt;BR /&gt;&lt;BR /&gt;its a combination of ls and find.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.cyberciti.biz/tips/delete-remove-files-with-inode-number.html" target="_blank"&gt;http://www.cyberciti.biz/tips/delete-remove-files-with-inode-number.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;mikap</description>
      <pubDate>Wed, 29 Jul 2009 18:40:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-removing-file-with-special-characters/m-p/4469520#M361009</guid>
      <dc:creator>Michal Kapalka (mikap)</dc:creator>
      <dc:date>2009-07-29T18:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problems removing file with special characters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-removing-file-with-special-characters/m-p/4469521#M361010</link>
      <description>I would:&lt;BR /&gt;&lt;BR /&gt;1) Do an 'ls -labi' and make a note of the inode number&lt;BR /&gt;&lt;BR /&gt;2) find . -inum &lt;INODE number=""&gt; -exec ls -labi {} \;   &lt;BR /&gt;to make sure it is the correct file.  If it is, then&lt;BR /&gt;&lt;BR /&gt;3) find . -inum &lt;INODE number=""&gt; -exec rm {} \;&lt;BR /&gt;&lt;BR /&gt;&lt;/INODE&gt;&lt;/INODE&gt;</description>
      <pubDate>Wed, 29 Jul 2009 18:40:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-removing-file-with-special-characters/m-p/4469521#M361010</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-07-29T18:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problems removing file with special characters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-removing-file-with-special-characters/m-p/4469522#M361011</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Among the easy ways to remove a file like this is to use its inode number:&lt;BR /&gt;&lt;BR /&gt;# ls -ilab&lt;BR /&gt;&lt;BR /&gt;...lists in octal notation any non-printable characters as you have seen but with the inode number of the file in the leftmost column.&lt;BR /&gt;&lt;BR /&gt;Once you have that, do:&lt;BR /&gt;&lt;BR /&gt;# find . -xdev -type f -inum &lt;N&gt; -exec rm -i {} +&lt;BR /&gt;&lt;BR /&gt;Substitute the correct inode number for &lt;N&gt;.&lt;BR /&gt;&lt;BR /&gt;NOTE CAREFULLY:  Inode numbers are only unique within a filesystem.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;/N&gt;&lt;/N&gt;</description>
      <pubDate>Wed, 29 Jul 2009 18:43:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-removing-file-with-special-characters/m-p/4469522#M361011</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-07-29T18:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problems removing file with special characters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-removing-file-with-special-characters/m-p/4469523#M361012</link>
      <description>Why do you think this file has special chars?  :-)&lt;BR /&gt;If you have stty erase as ^h, you can just use the DEL char as a ordinary char.</description>
      <pubDate>Wed, 29 Jul 2009 20:10:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-removing-file-with-special-characters/m-p/4469523#M361012</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-07-29T20:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problems removing file with special characters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-removing-file-with-special-characters/m-p/4469524#M361013</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can delete this kind of file with inode number;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;Find out the inode number of this file with, &lt;BR /&gt;#ls -il &lt;FILE name=""&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;Remove the file with,&lt;BR /&gt;#find . -inum &lt;INODE&gt; -exec rm -i {} \;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;LIJEESH N G&lt;/INODE&gt;&lt;/FILE&gt;</description>
      <pubDate>Thu, 30 Jul 2009 00:00:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-removing-file-with-special-characters/m-p/4469524#M361013</guid>
      <dc:creator>Lijeesh N G_1</dc:creator>
      <dc:date>2009-07-30T00:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problems removing file with special characters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-removing-file-with-special-characters/m-p/4469525#M361014</link>
      <description>Thank you, it worked.&lt;BR /&gt;</description>
      <pubDate>Thu, 30 Jul 2009 16:56:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-removing-file-with-special-characters/m-p/4469525#M361014</guid>
      <dc:creator>dictum9</dc:creator>
      <dc:date>2009-07-30T16:56:34Z</dc:date>
    </item>
  </channel>
</rss>

