From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Christian Lynbech Newsgroups: gmane.emacs.help Subject: Re: How delete a not empty directory in the Dired buffer? Date: Thu, 23 Sep 2004 10:47:23 +0200 Organization: Ericsson Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1095929705 3846 80.91.229.6 (23 Sep 2004 08:55:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 23 Sep 2004 08:55:05 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 23 10:54:58 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CAPNQ-0001s2-00 for ; Thu, 23 Sep 2004 10:54:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CAPTR-0004fX-N0 for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Sep 2004 05:01:09 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!news.tele.dk!news.tele.dk!small.news.tele.dk!ltu.se!luth.se!193.180.251.40.MISMATCH!erinews.ericsson.se!news.ericsson.se!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: 213.159.189.110 Original-X-Trace: newstree.wise.edt.ericsson.se 1095929053 21926 213.159.189.110 (23 Sep 2004 08:44:13 GMT) Original-X-Complaints-To: abuse@ericsson.se Original-NNTP-Posting-Date: Thu, 23 Sep 2004 08:44:13 +0000 (UTC) User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:125469 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:20823 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20823 >>>>> "Giannandrea" == Giannandrea Castaldi writes: Giannandrea> ... is a way in the Dired buffer to delete not empty dir? The simplest is to use `!' which allows you to execute a command on the file/directory which is pointed out by the cursor. That command could be "rm -rf" which will remove the directory and all of its contents. In other words, you would place the cursor on the line with the directory you want to delete and the press: ! rm -rf Beware though that "rm -rf" is not a very safe command so be sure you are pointing to the correct file or directory! ------------------------+----------------------------------------------------- Christian Lynbech | christian #\@ defun #\. dk ------------------------+----------------------------------------------------- Hit the philistines three times over the head with the Elisp reference manual. - petonic@hal.com (Michael A. Petonic)