bug-coreutils
[Top][All Lists]
Advanced

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

bug#26971: mv -v output ordering looks impossible


From: Paul Eggert
Subject: bug#26971: mv -v output ordering looks impossible
Date: Thu, 18 May 2017 07:41:50 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0

On 05/17/2017 06:11 PM, Pádraig Brady wrote:
created directory './mv-test'
copied '/tmp/mv-test/file' -> './mv-test/file'
removed '/tmp/mv-test/file'
removed directory '/tmp/mv-test'

$ src/mv -v mv-test mv-test-2
renamed 'mv-test' -> 'mv-test-2'

If we're changing the format, I suggest having the output be useful as input to the shell, like this:

$ src/mv -v /tmp/mv-test .
mkdir './mv-test'
cp '/tmp/mv-test/file' './mv-test/file'
rm '/tmp/mv-test/file'
rmdir '/tmp/mv-test'

$ src/mv -v mv-test mv-test-2
mv 'mv-test' 'mv-test-2'

This would be more useful. It would also be less confusing, since people who 
use 'mv' already know the syntax of 'mv' etc., whereas with the draft version 
they would need to deduce another syntax.






reply via email to

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