Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unmvax!pprg.unm.edu!hc!lll-winken!uunet!tektronix!orca!nobody From: nobody@orca.WV.TEK.COM (-for inetd server command) Newsgroups: comp.unix.questions Subject: Re: Ugly File Name Summary: How to delete a file with an ugly name Keywords: Unix files filenames control characters Message-ID: <3328@orca.WV.TEK.COM> Date: 13 May 89 00:24:31 GMT Expires: 19 May 89 07:00:00 GMT Reply-To: dougb@orca.WV.TEK.COM (Doug Becker) Distribution: usa Organization: Tektronix, Inc., Wilsonville, OR Lines: 31 From: dougb@mustang.WV.TEK.COM (Doug Becker;685-2062;61-277;;mustang) Path: mustang!dougb I tried to reply via net mail, to no avail. In article <128@tdl.UUCP> (somebody) wrote: > So the program ran and created a real ugly filename. One way to remove it is to move everything out of the directory except the offending file, then rm -rf the directory containing the file (and then restore it). > I would like to be a real man and do it in "C" but I will > accept any suggestions in any manner of solution. As for C, well, I leave that as an exercise for the reader. :-) --- Doug ==================================DOUGLAS H. BECKER============================= domain mailers: | dougb@{orca|shark|hammer}.WV.TEK.COM | US Mail: Software Engineer, ITD UUCP (avoid): | Tektronix, Inc. {anywhere}!tektronix!tekecs!orca!dougb | P.O. Box 1000 ARPANET: | Mail Station 61-277 dougb%orca.WV.TEK.COM@RELAY.CS.NET | Wilsonville, OR 97070-1000 CompuServe: GEnie: | U.S.A. 72711,1753 D.BECKER10 | ==========================================+=====================================