LWN.net Logo

Control characters in file names

Control characters in file names

Posted Nov 24, 2010 11:08 UTC (Wed) by vonbrand (subscriber, #4458)
In reply to: Control characters in file names by zlynx
Parent article: Ghosts of Unix past, part 4: High-maintenance designs

Have you tried quoting that (with ', not ")? There are many characters special to the shell in there. Sometimes a "rm -i *" helps by giving the "correct" filename to the selection. In very recalcitrant cases, you could write a proggie that unlinks the file by hardcoded name...


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds