From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.help Subject: Re: Delete marked files from dired Date: Fri, 02 Jun 2017 07:12:24 +0200 Message-ID: <87inkf2csn.fsf@jane> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1496380364 5420 195.159.176.226 (2 Jun 2017 05:12:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 2 Jun 2017 05:12:44 +0000 (UTC) User-Agent: mu4e 0.9.19; emacs 26.0.50 Cc: help-gnu-emacs@gnu.org To: notbob Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 02 07:12:39 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGet4-00014C-N7 for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Jun 2017 07:12:38 +0200 Original-Received: from localhost ([::1]:47898 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGet9-0008Cg-Vf for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Jun 2017 01:12:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38847) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGesk-00087E-1G for help-gnu-emacs@gnu.org; Fri, 02 Jun 2017 01:12:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dGesf-0007pt-4W for help-gnu-emacs@gnu.org; Fri, 02 Jun 2017 01:12:18 -0400 Original-Received: from mail.mojserwer.eu ([195.110.48.8]:36337) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGese-0007oO-Tw for help-gnu-emacs@gnu.org; Fri, 02 Jun 2017 01:12:13 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id B76D6E67D7; Fri, 2 Jun 2017 07:12:07 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Original-Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id viDwcclNmNm6; Fri, 2 Jun 2017 07:11:42 +0200 (CEST) Original-Received: from localhost (static-dwadziewiec-jedenpiec7.echostar.pl [109.232.29.157]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 2CFE9E64F8; Fri, 2 Jun 2017 07:11:33 +0200 (CEST) In-reply-to: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.110.48.8 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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 Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:113323 Archived-At: On 2017-06-02, at 00:10, notbob wrote: > I've gotta lotta files to delete before rsyncing to a thumb drive. I > know how to mark all files in a dir (* s) when in dired mode, but do not know how to > delete all those marked files. Anybody? ;) I didn't know about dired-do-delete, but here's another way (more complicated, but potentially useful for other things). You probably know that you can mark files with `D' (for delete) or `*' (for other things). You might not know that you can have other marks (one-character only, I presume), and change them with `dired-change-marks' (`* c'). So, after marking with `m' (which uses `*' as the mark), you can type * c * D x Hth, -- Marcin Borkowski