Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!lll-tis!ames!ptsfa!dmt From: dmt@ptsfa.UUCP (Dave Turner) Newsgroups: comp.unix.questions Subject: Re: Accessing files by inode #s Message-ID: <4080@ptsfa.UUCP> Date: 29 Jan 88 18:00:26 GMT References: <11525@brl-adm.ARPA> <602@cresswell.quintus.UUCP> Reply-To: dmt@ptsfa.UUCP (Dave Turner) Organization: Pacific * Bell, San Ramon, CA Lines: 22 In article <602@cresswell.quintus.UUCP> ok@quintus.UUCP (Richard A. O'Keefe) writes: >[The task is to delete a file whose name contains strange characters.] >[The original poster thought that using Inode numbers was a good idea] >[but couldn't quite see what to do next. ] > >In article <11525@brl-adm.ARPA>, rwelsh@cct.bbn.com (Robert J. Welsh) writes: >> If you want to get rid of files that have control characters etc in their On System V Rel 2.1 (and earlier) I've had good luck with the following: od -c . # to determine the "real" characters in the filename Then some combination of: rm 'filename in quotes' Sometimes it is necessary to ESCAPE certain characters in the filename. This almost always works. -- Dave Turner 415/542-1299 {ihnp4,lll-crg,qantel,pyramid}!ptsfa!dmt