In emacs, while in Dired mode, I can use the ~ command to mark all my emacs backups for deletion. Is there a way to mark them all recursively so I can delete all my backups in the current directory and all subdirectories?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can define two kinds of dired: flat and recursive. For example:
Then calling this function with
C-u C-x C-dwill display dired recursively and withC-x C-dwill do it as usual.After displaying dired recursively you can delete backups or do other stuff recursively too.