GNU bug report logs - #33125
rm: add --backup option, similar to cp/mv/ln

Previous Next

Package: coreutils;

Reported by: francky.leyn <at> telenet.be

Date: Tue, 23 Oct 2018 09:47:01 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: francky.leyn <at> telenet.be, 33125 <at> debbugs.gnu.org
Cc: Francky Leyn <Francky <at> Leyn.eu>
Subject: bug#33125: the destrustive and non predent behavior of ALL UNIX commands
Date: Tue, 23 Oct 2018 16:44:47 -0700
On 10/23/18 2:46 AM, francky.leyn <at> telenet.be wrote:
> In this mail I make a plei for a more protective manner for the coreutils.

Sorry about the loss of your data, but at this point the behavior of mv 
etc. is relied on by so many people and scripts that we can't 
realistically make the change you requested. You can, if you like, 
create a shell script like this:

#!/bin/sh
exec /usr/bin/mv -i "$@"

call this script "mv", and then put it into your PATH; that way, the 
'mv' command will behave the way you like, for your usage.





This bug report was last modified 6 years and 291 days ago.

Previous Next


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