From owner-freebsd-questions@FreeBSD.ORG Mon Mar 15 20:20:10 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 AD38B16A4CE for ; Mon, 15 Mar 2004 20:20:10 -0800 (PST) Received: from mta6.adelphia.net (mta6.adelphia.net [68.168.78.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54D5443D1D for ; Mon, 15 Mar 2004 20:20:10 -0800 (PST) (envelope-from parv_fm@mailsent.net) Received: from moo.holy.cow ([69.160.71.102]) by mta10.adelphia.net (InterMail vM.5.01.06.08 201-253-122-130-108-20031117) with ESMTP id <20040316041855.MXGJ1437.mta10.adelphia.net@moo.holy.cow>; Mon, 15 Mar 2004 23:18:55 -0500 Received: by moo.holy.cow (Postfix, from userid 1001) id D3B2CA3DC; Mon, 15 Mar 2004 23:19:33 -0500 (EST) Date: Mon, 15 Mar 2004 23:19:33 -0500 From: Parv To: Walter , 'Questions' Message-ID: <20040316041933.GA4098@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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040316035734.GC3419@moo.holy.cow> 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 04:20:10 -0000 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 --