Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!gatech!purdue!haven!uvaarpa!vdoe386!tjhsst!kdeyoe From: kdeyoe@tjhsst.vak12ed.edu (Kelly DeYoe) Newsgroups: comp.unix.misc Subject: Re: Unix problem Summary: How to fix leading '-' in file names Message-ID: <1991Apr21.124135.7732@tjhsst.vak12ed.edu> Date: 21 Apr 91 12:41:35 GMT References: <14425@medusa.cs.purdue.edu> Organization: Fairfax Area Schools Lines: 24 In article <14425@medusa.cs.purdue.edu> wangjw@ifestos.cs.purdue.edu () writes: >Hi, > > I was using the X-window and somehow generated some garbage files. I >cannot remove some files because these files are named "-C", "-f" etc. >Can someone tell me how to remove these garbages? > > Thanks. > >Jingwen Wang > >wangjw@cs.purdue.edu To get rid of these files, or simply be able to rename them to something more managable, you can go to the parent directory and manipulate them that way. i.e.: cd .. rm dir/-C (assuming you started in directory dir) and *poof*, it's gone. . . KD