All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joseph Jackson <skoidat@lvcm.com>
To: Matthew Stapleton <matthewstapleton@juno.com>
Cc: linux-newbie@vger.kernel.org
Subject: Re: recursively removing directories
Date: Sat, 29 Jun 2002 18:50:47 -0700	[thread overview]
Message-ID: <3D1E63F7.1050200@lvcm.com> (raw)
In-Reply-To: 20020629.214414.-257403.0.matthewstapleton@juno.com

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'.
> 
> Thanks,
> Matthew Stapleton
>  
> -
> 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
> 
> 

Like this rm -rf /whatever  the -r is ofcourse recursive and the -f is force is 
it won't ask you.

-
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

  reply	other threads:[~2002-06-30  1:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-30  1:44 recursively removing directories Matthew Stapleton
2002-06-30  1:50 ` Joseph Jackson [this message]
2002-06-30  6:57   ` cr
2002-06-30  8:26 ` Richard Adams
  -- strict thread matches above, loose matches on Subject: below --
2002-06-30 10:04 Matthew Stapleton
2002-06-30 10:16 ` 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=3D1E63F7.1050200@lvcm.com \
    --to=skoidat@lvcm.com \
    --cc=linux-newbie@vger.kernel.org \
    --cc=matthewstapleton@juno.com \
    /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.