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

To reply to this bug, email your comments to 35926 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#35926; Package coreutils. (Mon, 27 May 2019 14:32:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Shriramana Sharma <samjnaa <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Mon, 27 May 2019 14:32:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Shriramana Sharma <samjnaa <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: 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.