GNU bug report logs -
#6440
"mv" command's bug
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 6440 in the body.
You can then email your comments to 6440 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org
:
bug#6440
; Package
coreutils
.
(Wed, 16 Jun 2010 18:19:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Paolo <paolo.colciaghi <at> bluewin.ch>
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Wed, 16 Jun 2010 18:19:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
I think I've found a "mv" command bug (in Ubuntu 10.04's terminal).
When I write " mv [directory name] -/[directory name]", it doesn't move
the first directory, she disappears!
I don't know why, I've tried a lot of times following exactly the
instructions of the Ubuntu's help service.
Good evening
Information forwarded
to
owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org
:
bug#6440
; Package
coreutils
.
(Wed, 16 Jun 2010 20:12:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 6440 <at> debbugs.gnu.org (full text, mbox):
Paolo wrote:
> I think I've found a "mv" command bug (in Ubuntu 10.04's terminal).
Thank you for your bug report. However we will need more information
from you in order to tell what is happening. Because I cannot
recreate your problem.
> When I write " mv [directory name] -/[directory name]", it doesn't move
> the first directory, she disappears!
Is that dash character '-' literally there? If so then that should
produce an error. Because with a leading dash the string will look
like an option argument and slash '/' is not a valid option argument.
Therefore the characters you are showing us cannot be the command that
is causing you the behavior you are describing to us. You must be
doing something different from this.
If you can create a repeatable test case so that we can recreate your
problem then that is best. Regardless we will need to know *exactly*
the command that you used. For example I tried the following
commands.
$ mkdir x
$ cd x
$ mkdir a b
$ touch a/foo b/bar
$ find
.
./b
./b/bar
./a
./a/foo
$ mv a b
$ find
.
./b
./b/bar
./b/a
./b/a/foo
That worked completely as expected. The directory 'a' was moved and
since the target 'b' was also a directory it moved the directory 'a'
into the directory 'b'.
If you could exactly what you are doing and the result that you are
getting when you are experiencing your problem then we could probably
help you with it.
Bob
Information forwarded
to
owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org
:
bug#6440
; Package
coreutils
.
(Wed, 16 Jun 2010 21:40:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 6440 <at> debbugs.gnu.org (full text, mbox):
Paolo wrote:
> I think I've found a "mv" command bug (in Ubuntu 10.04's terminal).
> When I write " mv [directory name] -/[directory name]", it doesn't move
> the first directory, she disappears!
> I don't know why, I've tried a lot of times following exactly the
> instructions of the Ubuntu's help service.
> Good evening
>
I guess you did "mv directory ~/directory" (~, not -), which would move
it to your home directory, eg. to /home/ubuntu/directory which would
obviously make it disappear from wherever it was before.
Reply sent
to
Bob Proulx <bob <at> proulx.com>
:
You have taken responsibility.
(Fri, 18 Jun 2010 17:26:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Paolo <paolo.colciaghi <at> bluewin.ch>
:
bug acknowledged by developer.
(Fri, 18 Jun 2010 17:26:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 6440-done <at> debbugs.gnu.org (full text, mbox):
Paolo wrote:
> Sorry, I've found out that I made an error while I was writing the
> directory. I didn't understand a thing in the instructions.
> I apologize, I made you lose some time, I'm really sorry about it.
> Good evening,
No worries! I am happy that you have resolved your problem. And so I
am going to close the bug ticket with this message.
Bob
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 17 Jul 2010 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 14 years and 346 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.