GNU bug report logs - #45924
RFE: rmdir -r: recursively remove [empty] directories under the target.

Previous Next

Package: coreutils;

Reported by: L A Walsh <coreutils <at> tlinx.org>

Date: Sun, 17 Jan 2021 00:31:01 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Ulf Zibis <Ulf.Zibis <at> gmx.de>
To: 45924 <at> debbugs.gnu.org
Subject: bug#45924: RFE: rmdir -r: recursively remove [empty] directories under the target.
Date: Mon, 18 Jan 2021 22:05:40 +0100
Am 18.01.21 um 11:53 schrieb L A Walsh:
> Except that 'find DIR -depth -type d -exec rmdir {} +'
> is anything but simple and not something anyone outside of
> a minority of *nix users would have a clue about how to create, whereas 'rmdir -r DIR' is both direct and simple and
> more easily understandable by those who know how to remove
> a directory and recursively remove files. Applying the -r
> option of 'rm' and 'rd's focus on dirs seems a natural combination.

+1

Ulf





This bug report was last modified 3 years and 116 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.