coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Worth submitting a pull request to add –dry-run flag to rm?


From: Benson Muite
Subject: Re: Worth submitting a pull request to add –dry-run flag to rm?
Date: Tue, 14 Feb 2023 12:28:21 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1

On 2/14/23 01:29, Robert Viragh wrote:
> Hello,
> 
> I was referred to the list by someone based on my question:
> 
> Is it worth submitting a high-quality pull request to add a --dry-run flag
> to the basic Linux rm command (rm --dry-run -rf), so users can quickly
> preview all files that will be deleted before actually executing the
> command? The current workaround of piping yes n to rm -i is not a perfect
> solution and doesn't match rm's behavior because it asks if you want to
> descend into a directory, which requires y, nor do several other
> workarounds (find, ls, etc) match its behavior exactly. I've contributed to
> open source but haven't contributed to Linux source code before but I think
> adding this flag would benefit users.
> 
> Would a pull request like this be rejected or have a chance of being merged?
> 
> 
> I would be interested in any thoughts from this list.
> 
> Best regards,
> Robert Viragh
Am not a maintainer, but as a user this seems like it would be helpful
for people new to the command line.  Such a patch may increase the
maintenance burden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]