corrupt filenames

Doug Gwyn gwyn at smoke.BRL.MIL
Thu Nov 9 17:39:58 AEST 1989


In article <101 at mcdd1.UUCP> guest at mcdd1.UUCP (guest) writes:
>On a BSD system how can I remove a file that has a corrupt filename
>such as '- 1' ?

$ >foo
$ rm foo '- 1'

The general-purpose trick
$ rm -ri .
also works, but is more trouble since you have to answer the prompts.



More information about the Comp.unix.questions mailing list