Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Feb 2001 14:03:50 -0500 (EST)
From:      Zhiui Zhang <zzhang@cs.binghamton.edu>
To:        "Dennis C. Prather" <dennis@productivity.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: directories
Message-ID:  <Pine.SOL.4.21.0102091401560.4766-100000@onyx>
In-Reply-To: <NEBBLBOMGLHCCGMMOIPGIEJFDAAA.dennis@productivity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 9 Feb 2001, Dennis C. Prather wrote:

> Is there a way to delete a directory and all of the contents inside of it?
> When  try to use rmdir it always says "Directory not empty". The man page
> says nothing about a recursive way to do it.

This is not a FreeBSD-specific question.  But I will try "rm -rf dir". It
should delete everything under dir by force (-f) and recursively (-r).  
Be very careful.

-Zhihui



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.21.0102091401560.4766-100000>