careful_rm
careful_rm copied to clipboard
Empty directory option not handled
Passing in -d still prompts to include the -r flag despite the target directory being empty. For example:
$ mkdir empty
$ rm -d empty
Directories ['empty'] included but -r not sent
Add -r, ignore dirs, or cancel? [add/ignore/CANCEL] ignore
No files or folders to delete