Subject: bug#31038: mv copies in ls -r order

From: 積丹尼 Dan Jacobson <[email-masked]>
Date: Tue, 03 Apr 2018 22:37:13 +0800

OK maybe I was just looking at the latter half of

$ sh O
/tmp
created directory '/var/tmp/y'
copied 'x/1' -> '/var/tmp/y/1'
copied 'x/2' -> '/var/tmp/y/2'
copied 'x/3' -> '/var/tmp/y/3'
copied 'x/4' -> '/var/tmp/y/4'
copied 'x/5' -> '/var/tmp/y/5'
copied 'x/6' -> '/var/tmp/y/6'
copied 'x/7' -> '/var/tmp/y/7'
copied 'x/8' -> '/var/tmp/y/8'
copied 'x/9' -> '/var/tmp/y/9'
removed 'x/9'
removed 'x/8'
removed 'x/7'
removed 'x/6'
removed 'x/5'
removed 'x/4'
removed 'x/3'
removed 'x/2'
removed 'x/1'
removed directory 'x'

$ cat O
set -eu
cd /tmp
mkdir x
cd x
seq 9|xargs touch
cd -
mv -v x /var/tmp/y