background preloader

Dired - Find & xargs replacement

Facebook Twitter

WDired: Editable Dired Buffers. A long while ago I wrote an article about Working with Multiple files in Dired. In the article I describe how you can work with files across multiple directories — for instance all the matches from a find call — in a dired buffer. But wouldn’t it be great if you can combine the text editing capabilities of Emacs on the files themselves? Well, if you’re a long-time reader of this blog, you will recognize the rhetorical nature of the question and know instinctively that, yes, it is indeed possible.

WDired: Editable Dired Buffers. Working with multiple files in dired. Here’s another frequent workflow question that needs answering: How do you work on/with multiple files in bulk, and what if the files you want to edit are split over multiple directories?

Working with multiple files in dired

The simplest solution, when the files are all in the same directory, is to use M-x dired (C-x d) and mark the files you want to work on. Mastering Emacs.