From: Karey Weston <kweston@innerwall.com>
To: Scott Pack <spack@cs.ohiou.edu>, linux-admin@vger.kernel.org
Subject: Re: How to delete a special directory
Date: Fri, 09 Feb 2007 08:01:57 -0700 [thread overview]
Message-ID: <C1F1DAF5.E66F%kweston@innerwall.com> (raw)
In-Reply-To: <20070209143345.GB8710@crichton>
[-- Attachment #1: Type: text/plain, Size: 505 bytes --]
Try this (works with bash on BSD...Linux should be the same)
rm -rf \-f \-q
Make sure you are in bash...the backslashes escape the - and take it as a
literal.
Cheers
wes
On 2/9/07 7:33 AM, "Scott Pack" <spack@cs.ohiou.edu> wrote:
> M?rio Gamito [gamito@gmail.com] wrote:
>> I've accidently created two directories: -f and -q
>>
>> Now, i can't remove them with rm -rf -f -q
>> I get an error.
>>
>
> Try giving the full path name to the directory. Such as,
> rm -rdf ./-f ./-q
>
>
>
>
> S.
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2147 bytes --]
next prev parent reply other threads:[~2007-02-09 15:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-09 14:29 How to delete a special directory Mário Gamito
2007-02-09 14:33 ` Scott Pack
2007-02-09 15:01 ` Karey Weston [this message]
2007-02-09 16:59 ` Glynn Clements
2007-02-09 17:15 ` Darío Mariani
2007-02-09 18:07 ` Glynn Clements
2007-02-09 14:35 ` Florian Klien
[not found] ` <200702090934.43065.doug@hunley.homeip.net>
2007-02-09 17:22 ` Mário Gamito
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C1F1DAF5.E66F%kweston@innerwall.com \
--to=kweston@innerwall.com \
--cc=linux-admin@vger.kernel.org \
--cc=spack@cs.ohiou.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.