Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.uoregon.edu!newsfeed.orst.edu!newshub.tc.umn.edu!mr.net!uunet!in3.uu.net!news.alt.net!news1.alt.net!news.serv.net!not-for-mail From: zeno@serv.net (Sean T. Lamont .) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: dummy question Date: 17 Oct 1996 03:52:16 -0700 Organization: ServNet Internet Services, Seattle, WA Lines: 29 Message-ID: <545350$7j6@itchy.serv.net> References: <53mfdu$1iv@wa4phy.async.com> <543o1d$pe0@newsbr.eunet.fr> NNTP-Posting-Host: itchy.serv.net In article <543o1d$pe0@newsbr.eunet.fr>, Frederic MARAND <fgm@osinet.fr> wrote: >sam@wa4phy.async.com (S.W. Drinkard) wrote: >work, a solution existed on SunOS 4, and that was using the >little-known command unlink, which passes its argument(s ?) straight >to an unlink() syscall. That worked, and if *BSD has it too, it should >work too. I should throw this in ; I've found it useful from time to time for peskily- named files. do ls -i. this will list the directory by inode. Let's say the inode in question is #12345. do find . -type f -inum 12345 -exec rm {} \; This will get rid of any file, no matter how nasty the filename is. -- Sean T. Lamont, President / Chief NetNerd, Abstract Software, Inc. (ServNet) - Internet access * WWW hosting * TCP/IP * UNIX * NEXTSTEP * WWW Development - email: lamont@abstractsoft.com WWW: http://www.serv.net "...There's no moral, it's just a lot of stuff that happens". - H. Simpson