[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Short option for rm --interactive=never
From: |
David Hesselbom |
Subject: |
Short option for rm --interactive=never |
Date: |
Thu, 29 Oct 2020 13:59:07 +0100 |
Dear coreutils maintainers,
Quoting rm.c itself:
enum interactive_type
{
interactive_never, /* 0: no option or --interactive=never */
interactive_once, /* 1: -I or --interactive=once */
interactive_always /* 2: default, -i or --interactive=always */
};
interactive_once and interactive_always have short options, so why
doesn't interactive_never have one, say "-n"?
It would be nice to be able to run e.g.
rm -rn some_folder
instead of the more verbose
rm --interactive=never -r some_folder
The short option wouldn't necessarily have to be "-n", of course.
Kind regards,
David
- Short option for rm --interactive=never,
David Hesselbom <=