[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]
    Search the FAQ Archives

Single Page

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


comp.unix.questions: How do I remove files with non-ascii characters in their names?



     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 ./-



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

Single Page


[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
netannounce@deshaw.com (Mark Moraes)

Last Update November 22 2008 @ 00:13 AM

© 2008 FAQS.ORG. All rights reserved.