I was searching through for a way to copy/delete directory trees... dired seems to have dired-copy-file-recursive (though sans documentation) and a search on 'recursive' also returns:
tramp-handle-dired-recursive-delete-directory is a compiled Lisp
function in `tramp.el'.
(tramp-handle-dired-recursive-delete-directory FILENAME)
Recursively delete the directory given.
This is like `dired-recursive-delete-directory' for Tramp files.
But I can't find dired-recursive-delete-directory
anywhere! Anyone know what's going on? Thanks ~
Edit Thanks all for the responses. The computer I have has 23.1 installed (it's in a remote location with no internet so installations/upgrades are a pain) but I did find dired-delete-file
has a recursive option that accomplishes this task (had to activate with (require 'dired)
). I look forward to upgrading to 23.2 on my personal machine though!