FG
💻 Software

In emacs dired, how can I run a command on multiple marked files?

Fresh7 days ago
Mar 15, 20263391 views
Confidence Score0%
0%

Problem

I have several files marked in dired-mode, and I'd like to run a command on (say on each of them. Is there a built-in way to do this, or do I need to write it myself? Basically I want to do something like but I want to eval an emacs expression rather than a shell command. I want to do this within e…

Error Output

(delete-trailing-whitespace)

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: In emacs dired, how can I run a command on multiple marked files?

Low Risk

I wrote something to do what I want, in case anyone else finds it useful: Update: Updated this solution with a more general purpose command. Now does what I want. I would be delighted if someone would point out to me that I didn't have to do this, a…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment