GNU Core Utilities - Bugs: bug #22646, RFE: -I option for rm: prompt once...
You are not allowed to post comments on this tracker with your current authentication level.
bug #22646: RFE: -I option for rm: prompt once on directories
Submitter: | None | ||
Submitted: | Mon 17 Mar 2008 10:16:03 PM UTC | ||
Category: | None | Severity: | 3 - Normal |
Item Group: | None | Status: | Invalid |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Closed |
Tue 18 Mar 2008 07:34:13 AM UTC, comment #3: |
Jim Meyering <meyering> |
Tue 18 Mar 2008 07:26:52 AM UTC, comment #2: GNU rm already has the -I option, which seems to do what you want.
|
Jim Meyering <meyering> |
Mon 17 Mar 2008 10:38:58 PM UTC, comment #1: No need to change coreutils to get this behaviour:
|
James Youngman <jay> |
Mon 17 Mar 2008 10:16:03 PM UTC, original submission:
When using "rm -ir *", it can get pretty tedious confirming once for every file, within directories. However, I prefer not to skip the safety-belt entirely by abandoning the -i.
|
Anonymous |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2008-03-18 | meyering | Open/Closed | Open | Closed | |
2008-03-18 | meyering | Status | None | Invalid |
Powered by Savane 3.13-bb6a.
Corresponding source code
Actually, rm -I doesn't do what you want, but maybe it's good enough. As James Youngman pointed out, you don't need to change rm to get the desired behavior. So I'm closing this.