From owner-freebsd-questions Wed Feb 12 11:18:47 2003 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 9CE3037B401 for ; Wed, 12 Feb 2003 11:18:46 -0800 (PST) Received: from scaup.mail.pas.earthlink.net (scaup.mail.pas.earthlink.net [207.217.120.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D08943FBD for ; Wed, 12 Feb 2003 11:18:45 -0800 (PST) (envelope-from parv_fm@mailsent.net) Received: from sdn-ap-036dcwashp0233.dialsprint.net ([65.179.112.233] helo=moo.holy.cow) by scaup.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18j2P6-0002cY-00; Wed, 12 Feb 2003 11:18:44 -0800 Received: by moo.holy.cow (Postfix, from userid 1001) id 95BE3AF1F; Wed, 12 Feb 2003 14:21:43 -0500 (EST) Date: Wed, 12 Feb 2003 14:21:43 -0500 From: parv To: David Banning Cc: questions@freebsd.org Subject: Re: how to delete a file called ???? Message-ID: <20030212192143.GA7742@moo.holy.cow> Mail-Followup-To: David Banning , questions@freebsd.org References: <20030212111232.A6759@skytrackercanada.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030212111232.A6759@skytrackercanada.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG in message <20030212111232.A6759@skytrackercanada.com>, wrote David Banning thusly... > > I have a file called ??????????????? ... > > I can't seem to clean it away. > > rm ???????? > rm '????????' > rm "????????" > > all do not work. try something like... find . -inum $( /bin/ls -i | fgrep '?' | awk '{print $1}' ) -print0 \ | xargs -0 rm -f - parv -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message