Aminumbra

joined 1 year ago
[–] Aminumbra@alien.top 1 points 1 year 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.