From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Stapleton Subject: recursively removing directories Date: Sat, 29 Jun 2002 21:44:12 -0400 Sender: linux-newbie-owner@vger.kernel.org Message-ID: <20020629.214414.-257403.0.matthewstapleton@juno.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-newbie@vger.kernel.org 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