From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 17:25:19 2004 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 165B016A4CE for ; Fri, 19 Mar 2004 17:25:19 -0800 (PST) Received: from mta9.adelphia.net (mta9.adelphia.net [68.168.78.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90D7043D39 for ; Fri, 19 Mar 2004 17:25:18 -0800 (PST) (envelope-from parv_fm@mailsent.net) Received: from moo.holy.cow ([69.160.71.102]) by mta9.adelphia.net (InterMail vM.5.01.06.08 201-253-122-130-108-20031117) with ESMTP id <20040320012514.TAMZ1423.mta9.adelphia.net@moo.holy.cow>; Fri, 19 Mar 2004 20:25:14 -0500 Received: by moo.holy.cow (Postfix, from userid 1001) id 0D4C5A4B3; Fri, 19 Mar 2004 20:25:55 -0500 (EST) Date: Fri, 19 Mar 2004 20:25:55 -0500 From: Parv To: Walter Message-ID: <20040320012555.GA3514@moo.holy.cow> Mail-Followup-To: Walter , 'Questions' References: <405640BE.9000102@earthlink.net> <20040315235943.GA55958@falcon.midgard.homeip.net> <40564606.3020504@earthlink.net> <20040316035734.GC3419@moo.holy.cow> <20040316041933.GA4098@moo.holy.cow> <40571A35.7040702@earthlink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40571A35.7040702@earthlink.net> cc: 'Questions' Subject: Re: deleting directories with ??? in name X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: f-questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Mar 2004 01:25:19 -0000 in message <40571A35.7040702@earthlink.net>, wrote Walter thusly... > I apologize for the late reply. > Parv wrote: > > > # find . \( -inum -o -inum \) -print0 \ > > # | xargs -0 rm -rfv > > > > Thanks, but when I did: > ls -i > and then typed in the inode in the command (saved in an old List > e-mail): > find . -inum -delete > it didn't delete them. Do you think your way would work where > manual command wouldn't? But, they are gone now, so I can't try > it anyway. My _speculation_ is that if '-delete' option did not work from w/in find(1), i doubt that above quoted command chain would cause any difference. I suppose, you also guessed the same. OTOH, the description of -delete option does say... -delete ... It will not attempt to delete a filename with a ``/'' character in its pathname relative to ``.'' for security reasons. ...that is one thing to consider. It would have been fun to experiment w/ the offending directory structure. Next time it happens, send me a sample/small tar'd copy, will you? - Parv --