RE: strange mv behavior: mv mydir mydir

2003-02-12 Thread Harald Kierer
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

Re: strange mv behavior: mv mydir mydir

2003-02-12 Thread Igor Pechtchanski
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

strange mv behavior: mv mydir mydir

2003-02-11 Thread linda w \(cyg\)
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: