help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Delete marked files from dired


From: Marcin Borkowski
Subject: Re: Delete marked files from dired
Date: Fri, 02 Jun 2017 07:12:24 +0200
User-agent: mu4e 0.9.19; emacs 26.0.50

On 2017-06-02, at 00:10, notbob <notbob@nothome.com> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]