From unknown Tue Jun 24 17:27:11 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#6440 <6440@debbugs.gnu.org> To: bug#6440 <6440@debbugs.gnu.org> Subject: Status: "mv" command's bug Reply-To: bug#6440 <6440@debbugs.gnu.org> Date: Wed, 25 Jun 2025 00:27:11 +0000 retitle 6440 "mv" command's bug reassign 6440 coreutils submitter 6440 Paolo severity 6440 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 16 14:18:10 2010 Received: (at submit) by debbugs.gnu.org; 16 Jun 2010 18:18:10 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOxBh-0008Ks-Gd for submit@debbugs.gnu.org; Wed, 16 Jun 2010 14:18:10 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOwnu-000893-US for submit@debbugs.gnu.org; Wed, 16 Jun 2010 13:53:35 -0400 Received: from lists.gnu.org ([199.232.76.165]:47059) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OOwnq-0003gF-D0 for submit@debbugs.gnu.org; Wed, 16 Jun 2010 13:53:30 -0400 Received: from [140.186.70.92] (port=34602 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOwnp-0007Wf-5D for bug-coreutils@gnu.org; Wed, 16 Jun 2010 13:53:30 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OOwnn-0003gG-Vx for bug-coreutils@gnu.org; Wed, 16 Jun 2010 13:53:29 -0400 Received: from mail18.bluewin.ch ([195.186.19.64]:60726) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOwnn-0003ff-RC for bug-coreutils@gnu.org; Wed, 16 Jun 2010 13:53:27 -0400 X-FXIT-IP: IPv4[188.60.187.37] Epoch[1276710804] Received: from [188.60.187.37] ([188.60.187.37:12130] helo=[192.168.1.34]) by mail18.bluewin.ch (envelope-from ) (ecelerity 2.2.2.41 r(31179/31189)) with ESMTP id F4/16-30272-49F091C4; Wed, 16 Jun 2010 17:53:24 +0000 Subject: "mv" command's bug From: Paolo To: bug-coreutils@gnu.org Content-Type: text/plain; charset="UTF-8" Date: Wed, 16 Jun 2010 19:53:23 +0200 Message-ID: <1276710803.1946.12.camel@paolo-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.1 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 16 Jun 2010 14:18:08 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) 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 From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 16 16:11:37 2010 Received: (at 6440) by debbugs.gnu.org; 16 Jun 2010 20:11:37 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOyxV-0000n4-4M for submit@debbugs.gnu.org; Wed, 16 Jun 2010 16:11:37 -0400 Received: from joseki.proulx.com ([216.17.153.58]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOyxT-0000mz-Ij for 6440@debbugs.gnu.org; Wed, 16 Jun 2010 16:11:36 -0400 Received: from dementia.proulx.com (dementia.proulx.com [192.168.230.115]) by joseki.proulx.com (Postfix) with ESMTP id AA17621362; Wed, 16 Jun 2010 14:11:30 -0600 (MDT) Received: by dementia.proulx.com (Postfix, from userid 1000) id A4A4B3CD89B; Wed, 16 Jun 2010 14:11:30 -0600 (MDT) Date: Wed, 16 Jun 2010 14:11:30 -0600 From: Bob Proulx To: Paolo Subject: Re: bug#6440: "mv" command's bug Message-ID: <20100616201130.GA7617@dementia.proulx.com> References: <1276710803.1946.12.camel@paolo-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1276710803.1946.12.camel@paolo-laptop> User-Agent: Mutt/1.5.18 (2008-05-17) X-Spam-Score: -1.7 (-) X-Debbugs-Envelope-To: 6440 Cc: 6440@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.4 (--) 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 From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 16 17:39:17 2010 Received: (at 6440) by debbugs.gnu.org; 16 Jun 2010 21:39:17 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OP0KK-0001SB-UO for submit@debbugs.gnu.org; Wed, 16 Jun 2010 17:39:17 -0400 Received: from mail-ww0-f44.google.com ([74.125.82.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OP0KJ-0001S5-50 for 6440@debbugs.gnu.org; Wed, 16 Jun 2010 17:39:15 -0400 Received: by wwb24 with SMTP id 24so171290wwb.3 for <6440@debbugs.gnu.org>; Wed, 16 Jun 2010 14:39:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=TUp+9/9gH3nv5HpWOQU8i+OYuyDSNBfKkaKyQh04EmQ=; b=mZ6azPZvddy8SK3dLwrsl0d7XEAnsJlUbuwo9uw12Oy107lZuXNQEAZGjIz4MgWTcV XYPyTxe0dDNI5bJHvGljjNKzfK5poTKa4C5Te/+BhTgfxyBtGiKVXpTk2WXYmee9otW9 JcXYaP2vQb+BrCyuxNEsh7KJcXwEeGfbl1Wao= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=kLepdkGfgNxTB2+RAL9zQXZSdNwaTT+1gK6Zy8XY3r52yjY6aCXN3H01sWNdX/sY6C zgSicPLDALYK6D4+M4GNFEMazTz3/aPNx7lAOabEqzJpdrzS3G1yvgbltgX2Uzli5Z3n +iIDYgYTL66CzjqvaV3PeoXCHC27nwT5ptcwc= Received: by 10.216.91.81 with SMTP id g59mr5561971wef.83.1276724349517; Wed, 16 Jun 2010 14:39:09 -0700 (PDT) Received: from [192.168.1.26] ([83.51.56.60]) by mx.google.com with ESMTPS id d75sm2520338wek.8.2010.06.16.14.39.06 (version=SSLv3 cipher=RC4-MD5); Wed, 16 Jun 2010 14:39:07 -0700 (PDT) Message-ID: <4C194496.2050009@gmail.com> Date: Wed, 16 Jun 2010 23:39:34 +0200 From: Keisial User-Agent: Thunderbird MIME-Version: 1.0 To: Paolo Subject: Re: bug#6440: "mv" command's bug References: <1276710803.1946.12.camel@paolo-laptop> In-Reply-To: <1276710803.1946.12.camel@paolo-laptop> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: 6440 Cc: 6440@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.7 (---) 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. From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 18 13:25:51 2010 Received: (at 6440-done) by debbugs.gnu.org; 18 Jun 2010 17:25:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPfKB-0005Af-7J for submit@debbugs.gnu.org; Fri, 18 Jun 2010 13:25:51 -0400 Received: from joseki.proulx.com ([216.17.153.58]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPfK9-0005Aa-6o for 6440-done@debbugs.gnu.org; Fri, 18 Jun 2010 13:25:49 -0400 Received: from dementia.proulx.com (dementia.proulx.com [192.168.230.115]) by joseki.proulx.com (Postfix) with ESMTP id 1B12A21362; Fri, 18 Jun 2010 11:25:44 -0600 (MDT) Received: by dementia.proulx.com (Postfix, from userid 1000) id 0F39C3CD89C; Fri, 18 Jun 2010 11:25:44 -0600 (MDT) Date: Fri, 18 Jun 2010 11:25:44 -0600 From: Bob Proulx To: Paolo Subject: Re: bug#6440: "mv" command's bug Message-ID: <20100618172544.GA6767@dementia.proulx.com> References: <1276710803.1946.12.camel@paolo-laptop> <20100616201130.GA7617@dementia.proulx.com> <1276878838.1475.12.camel@paolo-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1276878838.1475.12.camel@paolo-laptop> User-Agent: Mutt/1.5.18 (2008-05-17) X-Spam-Score: -2.4 (--) X-Debbugs-Envelope-To: 6440-done Cc: 6440-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.4 (--) 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 From unknown Tue Jun 24 17:27:11 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 17 Jul 2010 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator