[bug #22646] RFE: -I option for rm: prompt once on directories

2008-03-17 Thread anonymous
URL: Summary: RFE: -I option for rm: prompt once on directories Project: GNU Core Utilities Submitted by: None Submitted on: Monday 17/03/08 at 22:16 UTC Category: None

[bug #22646] RFE: -I option for rm: prompt once on directories

2008-03-17 Thread James Youngman
Follow-up Comment #1, bug #22646 (project coreutils): No need to change coreutils to get this behaviour: $ find . -depth -mindepth 1 -type d -ok rm -rf {} ; < rm ... ./wimpole > ? y < rm ... ./baz > ? y < rm ... ./quux > ? y < rm ... ./foo/bar > ? y < rm ... ./foo > ? y < rm ... ./ugh > ? y