xenodium@alien.topBtoEmacs@communick.news•Dired: How to move all files in subdirectories to directory above?English
1·
1 year agoI can think of two options:
M-x find-dired RET RET RET
(or adjust query): which will list all files recursively in dired. You probably don’t need to copy them elsewhere for renaming. UseM-x dired-toggle-read-only
(orC-x C-q
), rename in-place, and commit (toggle againC-x C-q
). https://xenodium.com/batch-renaming-with-counsel-find-dired-and-wdireddired-subtree
: enables drilling down to multipe subdirectories from the same dired buffer. Expand the subdirectories needing management, and edit like 1. (viaC-x C-q
) https://xenodium.com/drill-down-emacs-dired-with-dired-subtree
Edit: markup
It’s been a while since I’ve updated this page, but I had bookmarked a bunch of elisp things. https://xenodium.com/emacs-lisp-bookmarks
There should be some links there that qualify the requirements, examples:
https://harryrschwartz.com/2014/04/08/an-introduction-to-emacs-lisp.html
https://github.com/abo-abo/elisp-guide
https://github.com/caiorss/Emacs-Elisp-Programming
Having said that, go to the built-in elisp manual to go deeper.