Path: utzoo!attcan!uunet!know!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!pikes!mercury.cair.du.edu!isis!cbrandau From: cbrandau@isis.cs.du.edu (carl brandauer) Newsgroups: comp.unix.questions Subject: Re: unlink(inode)? or how to remove file with '/' in its name Message-ID: <1990Oct20.182146.27039@isis.cs.du.edu> Date: 20 Oct 90 18:21:46 GMT References: <1990Oct18.030832.10894@melb.bull.oz.au> Reply-To: cbrandau@isis.UUCP (carl brandauer) Organization: Math/CS, University of Denver Lines: 6 First, why write a C program when 'ls -i' will return the inumber (NOT inode) of the file. Once you have the inumber (say nnn), find . -inum nnn -exec rm {} \; will do what you need.