From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 18:40:08 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84FFC16A4CE for ; Tue, 1 Mar 2005 18:40:08 +0000 (GMT) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34F7C43D3F for ; Tue, 1 Mar 2005 18:40:08 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1D6C93-0004JS-Pz for freebsd-questions@freebsd.org; Tue, 01 Mar 2005 19:30:57 +0100 Received: from rms.gnu-rox.org ([62.212.121.152]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Mar 2005 19:30:57 +0100 Received: from zedek by rms.gnu-rox.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Mar 2005 19:30:57 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: freebsd-questions@freebsd.org To: freebsd-questions@freebsd.org From: Xavier Maillard Date: Tue, 01 Mar 2005 19:33:15 +0100 Organization: GNU Rox ! Lines: 26 Message-ID: References: <20050228165856.D333143D5F@mx1.FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: rms.gnu-rox.org X-Face: "qG{UC8GPzro#PZ!Jgisuj0]=k10 f#d596CJMPGOGwB'j\^JR2g0']N%L:ylC`?.l8u#JuS#CygUA}avHHVJJ!#ub7CxX#u]g}?z,hQ;c q%v]"[$!BfS Mail-Copies-To: never X-Attribution: zeDek X-Accept-Language: fr-fr, en-en, en-fr User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (berkeley-unix) Cancel-Lock: sha1:+nWcQmLfdBmvF8nJ8yv/o1MAOmQ= Sender: news X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner: Found to be clean X-MailScanner-From: freebsd-questions@m.gmane.org X-MailScanner-To: freebsd-questions@freebsd.org Subject: Re: dir ~ X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2005 18:40:08 -0000 On 28 fév 2005, Rob wrote: > Hi, > > I typed mv file dir/~ and I now have dir/~ but when I go to > that it takes me to my home which happened to be root, I tried > to delete the directory and it started deleting roots home. Is > there a way to delete this > ~ dir? Dunno if my answer got lost but a solution I would suggest is to try a combination of ls/find/rm My best bet on this issue is to list this by inode -i.e. ls -i and then track this inode using the inum switch of the find command to delete the item. This is usually how I deal with such entries. Hope that helps. -- "sometimes i feel like we're making emacs better and better because we don't know what to do with emacs once it is finished." -- AlexSchroeder on #emacs @OPN