From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <84f5cde727c85591db7049828fdae03f@9netics.com> To: 9fans@cse.psu.edu Date: Tue, 15 Jun 2004 20:34:19 -0700 From: Skip Tavakkolian <9nut@9netics.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] how to delete directories prefixed with a dash Topicbox-Message-UUID: a244e9ae-eacd-11e9-9e20-41e7f4b1d025 I think i did a 'mkdir -p -m 777 xxx' , before either flag was supported and thus created a -p and a -m directory. I finally removed them by cd'ing to those dirs and doing a 'rm .'; What's the quoting rule to get that type of name past the flags processing in rm (or anything else that has flags)?