|
From: | Paul Eggert |
Subject: | bug#33125: the destrustive and non predent behavior of ALL UNIX commands |
Date: | Tue, 23 Oct 2018 16:44:47 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 |
On 10/23/18 2:46 AM, address@hidden 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.
[Prev in Thread] | Current Thread | [Next in Thread] |