minus-squareAminumbra@alien.topBtoEmacs@communick.news•Dired: How to move all files in subdirectories to directory above?linkfedilinkEnglisharrow-up1·1 year agoFor 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. linkfedilink
For an elisp solution (not
dired
, still in Emacs):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.