Reproduced this:
[/t] $ mv lib lib
mv: cannot copy a directory, `lib', into itself, `lib/lib'
[/t] [1] $ mv lib Lib
mv: cannot copy a directory, `lib', into itself, `Lib/lib'
[/t] [1] $ mv --version
mv (fileutils) 4.1
Written by Mike Parker, David MacKenzie, and Jim Meyering.
Copyright
On Tue, 11 Feb 2003, linda w (cyg) wrote:
I stumbled onto this trying to rename a dir from
Mydir to mydir (w/o capital M)
mv Mydir mydir
starts copying Mydir into Mydir/mydir.
But it's not just the 'caps' that are the issue since:
mv mydir mydir
will start copying
I stumbled onto this trying to rename a dir from
Mydir to mydir (w/o capital M)
mv Mydir mydir
starts copying Mydir into Mydir/mydir.
But it's not just the 'caps' that are the issue since:
mv mydir mydir
will start copying mydir into itself
On lnx, I get:
mv:
3 matches
Mail list logo