Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!apple!motcsd!hpda!hpcuhb!hpsqf!hpopd!andyc From: andyc@hpopd.HP.COM (Andrew Cunningham) Newsgroups: comp.unix.wizards Subject: Re: How to delete a file with ^? chars in the name? Message-ID: <8000004@hpopd.HP.COM> Date: 11 Jan 90 11:56:01 GMT References: <7711@unix.SRI.COM> Organization: HP PWD, Pinewood UK. Lines: 22 Jeremy J. Epstein (jje@virtech.uucp) wrote: >In article <130045@sun.Eng.Sun.COM>, lm@snafu.Sun.COM (Larry McVoy) writes: >> In article <7711@unix.SRI.COM> ubi@ginger.sri.com (Ron Ueberschaer x4399) writes: >> >I have a file which is named ^?^?^?H01.b (delete character?) and can't >> >find a way to delete it. An ls -s on the directory produces: >> > rm -i * Then hit `n' for every file but the right one. If you're too paranoid to try this then use ls -il find . -inum -exec rm -i {} \; where is the inode numbert listed with ls -i. No C programs, no hacks, just one or two simple commands. Why does this discussion go on forever everytime the question is asked?