GNU bug report logs - #35926
mv: more informative overwrite prompt

Previous Next

Package: coreutils;

Reported by: Shriramana Sharma <samjnaa <at> gmail.com>

Date: Mon, 27 May 2019 14:32:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Shriramana Sharma <samjnaa <at> gmail.com>
To: 35926 <at> debbugs.gnu.org
Subject: bug#35926: mv: more informative overwrite prompt
Date: Mon, 27 May 2019 17:29:17 +0530
This is a wishlist item.

Currently, the following happens:

$ touch baa moo
$ mv -i moo baa
mv: overwrite 'baa'?

I request that the prompt also provide the source path such as in:

mv: overwrite 'baa' with 'moo'?

This is especially useful in the case of executing scripts where a
loop is processing many moves, and one cannot know the source file by
reading the previous line of the session.

-- 
Shriramana Sharma ஶ்ரீரமணஶர்மா श्रीरमणशर्मा 𑀰𑁆𑀭𑀻𑀭𑀫𑀡𑀰𑀭𑁆𑀫𑀸

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

Previous Next


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