From owner-freebsd-hackers@FreeBSD.ORG Thu May 5 11:46:15 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2AEA116A4D7 for ; Thu, 5 May 2005 11:46:15 +0000 (GMT) Received: from smtp.thilelli.net (smtp.thilelli.net [213.41.129.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEB7843DBF for ; Thu, 5 May 2005 11:46:13 +0000 (GMT) (envelope-from jpeg@thilelli.net) Received: from localhost (localhost [127.0.0.1]) by bento.thilelli.net (Postfix) with ESMTP id 55A747300C for ; Thu, 5 May 2005 13:46:12 +0200 (CEST) Received: from bento.thilelli.net ([127.0.0.1]) by localhost (bento.thilelli.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 76185-05 for ; Thu, 5 May 2005 13:46:08 +0200 (CEST) Received: from webmail.thilelli.net (localhost [127.0.0.1]) by bento.thilelli.net (Postfix) with ESMTP id DE1E47300B for ; Thu, 5 May 2005 13:46:07 +0200 (CEST) Received: from 192.168.1.20 (SquirrelMail authenticated user jgabel) by webmail.thilelli.net with HTTP; Thu, 5 May 2005 13:46:07 +0200 (CEST) Message-ID: <59863.192.168.1.20.1115293567.squirrel@webmail.thilelli.net> In-Reply-To: <20050505114206.GA86050@freebie.xs4all.nl> References: <427A014D.6020809@dnainternet.net> <20050505114206.GA86050@freebie.xs4all.nl> Date: Thu, 5 May 2005 13:46:07 +0200 (CEST) From: "Julien Gabel" To: freebsd-hackers@freebsd.org User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: amavisd-new at thilelli.net Subject: Re: req: New feature to rm? Remove file by the inode number X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jpeg@thilelli.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 May 2005 11:46:15 -0000 >> I couldn't find a way to remove files that had scandic/non-printable >> letters, then i remembered ls showed inode number of the file. Is it >> possible to remove the file by the inode number? It would be a >> useful feature :) >> >> I bet there is a way to remove those files, but only >> third party programs came to my mind. I think the -inum option of the find(1) utility can do the trick. -- -jpeg.