From: Matthew Stapleton <matthewstapleton@juno.com>
To: pa3gcu@zeelandnet.nl
Cc: linux-newbie@vger.kernel.org
Subject: Re: recursively removing directories
Date: Sun, 30 Jun 2002 06:04:53 -0400 [thread overview]
Message-ID: <20020630.060453.-322229.1.matthewstapleton@juno.com> (raw)
The reason I asked is because I expanded a *.tar.gz file to look-at/build
and then decided I needed to erase the directory later....Thanks for the
warning....
Matthew
On Sun, 30 Jun 2002 08:26:37 +0000 Richard Adams <pa3gcu@zeelandnet.nl>
writes:
> On Sunday 30 June 2002 01:44, Matthew Stapleton wrote:
> > How do I recursively remove all the subdirectories and contents of
> a
> > particular directory in Linux? I know of 'rmdir', but this only
> works for
> > empty directories. I need something like DOS's 'deltree'.
>
> You got 2 other answers to your question, one mentioned the need to
> be "very
> carefull" with rm, what they did not say is you can wipe out your
> complete
> system with rm and its options.
> I would strongly advise you to use 'mc' the linux answer to
> midnight-commander.
> You will have more oversight as to what you are deleting and will
> not be faced
> with the same problem we saw here a few days ago when someone asked
> how he
> could recover his system after he made a mistake with rm -rf.
>
>
> >
> > Thanks,
> > Matthew Stapleton
>
> --
> Regards Richard
> pa3gcu@zeelandnet.nl
> http://people.zeelandnet.nl/pa3gcu/
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe
> linux-newbie" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs
>
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next reply other threads:[~2002-06-30 10:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-30 10:04 Matthew Stapleton [this message]
2002-06-30 10:16 ` recursively removing directories Richard Adams
-- strict thread matches above, loose matches on Subject: below --
2002-06-30 1:44 Matthew Stapleton
2002-06-30 1:50 ` Joseph Jackson
2002-06-30 6:57 ` cr
2002-06-30 8:26 ` Richard Adams
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=20020630.060453.-322229.1.matthewstapleton@juno.com \
--to=matthewstapleton@juno.com \
--cc=linux-newbie@vger.kernel.org \
--cc=pa3gcu@zeelandnet.nl \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox