Date: Thu, 5 May 2005 21:35:34 +1000 From: Tim Robbins <tjr@freebsd.org> To: freebsd-hackers@freebsd.org Subject: Re: req: New feature to rm? Remove file by the inode number Message-ID: <20050505113534.GA13080@cat.robbins.dropbear.id.au> In-Reply-To: <427A014D.6020809@dnainternet.net> References: <427A014D.6020809@dnainternet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 05, 2005 at 02:19:41PM +0300, Erik Udo wrote: > 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. find(1) with -inum and -delete would do the trick. Tim
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050505113534.GA13080>