Ugly file name

Dave Settle dave at ucms.UUCP
Mon May 22 22:15:04 AEST 1989


In article <9001 at csli.Stanford.EDU> gandalf at csli.stanford.edu (Juergen Wagner) 
writes:
[talking about removing files with wierd names]
>Several alternatives have been suggested to uniquely identify the file
>to be removed. However, there are cases in which `rm' won't do the job
>of deleting the file because the shell which is used to run `rm' may
>strip the eighth bit off characters [some shells do]. In such cases, it
>is impossible to remove the file with `rm'. ...
>

Try 'rm -ri .'

Just keep hitting the return key until your file comes up, and then type 'y'.

No problems with 8th bits or any other stuff. Of course, if the file name
locks your terminal, this isn't going to work, but otherwise it's great!

Cheers,
	Dave



More information about the Comp.unix.wizards mailing list