Accessing files by inode #s

Dave Turner dmt at ptsfa.UUCP
Sat Jan 30 04:00:26 AEST 1988


In article <602 at cresswell.quintus.UUCP> ok at 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 at brl-adm.ARPA>, rwelsh at 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



More information about the Comp.unix.questions mailing list