Aminumbra

joined 10 months ago
[–] [email protected] 1 points 10 months ago

For an elisp solution (not dired, still in Emacs):

             (rename-file filename ))
           (directory-files-recursively  "."))

You can filter via the second argument of directory-files-recursively which files you want to list (using a regexp), or use any test you want in the lambda.

Not the fastest if you have a large amount of files, as it is pure elisp.