From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 07:16:08 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 625A916A4CF for ; Tue, 16 Mar 2004 07:16:08 -0800 (PST) Received: from gull.mail.pas.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4188B43D1D for ; Tue, 16 Mar 2004 07:16:08 -0800 (PST) (envelope-from walterk1@earthlink.net) Received: from user-12hcobn.cable.mindspring.com ([69.22.97.119] helo=earthlink.net) by gull.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1B3GIY-0007ks-00; Tue, 16 Mar 2004 07:16:07 -0800 Message-ID: <40571A35.7040702@earthlink.net> Date: Tue, 16 Mar 2004 10:16:05 -0500 From: Walter User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Parv 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> In-Reply-To: <20040316041933.GA4098@moo.holy.cow> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: 'Questions' Subject: Re: deleting directories with ??? in name 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, 16 Mar 2004 15:16:08 -0000 Parv wrote: > in message <20040316035734.GC3419@moo.holy.cow>, > wrote Parv thusly... > >> # find . \( -inum -o -inum \) -print0 \ >> # | xargs -0 rm -fv > > > Oh, don't forget the '-r', for recursion, option for rm(1) as i did. > Use this instead... > > # find . \( -inum -o -inum \) -print0 \ > # | xargs -0 rm -rfv > > > - Parv 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.