Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!samsung!aplcen!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.unix.questions Subject: Re: corrupt filenames Message-ID: <11574@smoke.BRL.MIL> Date: 9 Nov 89 06:39:58 GMT References: <101@mcdd1.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 10 In article <101@mcdd1.UUCP> guest@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.