Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

Answers to Frequently Asked Questions about Usenet
Section - comp.unix.questions: How do I remove files with non-ascii characters in their names?

( Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Property taxes ]


Top Document: Answers to Frequently Asked Questions about Usenet
Previous Document: rec.games.*: Where can I get the source for empire or rogue?
Next Document: comp.unix.internals: There is a bug in the way UNIX handles protection for programs that run suid, or any other report of
See reader questions & answers on this topic! - Help others by sharing your knowledge

     You can try to find a pattern that uniquely identifies the file.
     This sometimes fails because a peculiarity of some shells is that
     they strip off the highorder bit of characters in command lines.
     Next, you can try an rm -i, or rm -r. Finally, you can mess around
     with i-node numbers and "find".

     Some Emacs editors allow you to directly edit a directory, and
     this provides yet another way to remove a file with a funny name
     (assuming you have Emacs and figure out how to use it!).

     To remove a file named "-" from your directory, simply do:
     rm ./-

User Contributions:

Comment about this article, ask questions, or add new information about this topic:

CAPTCHA