Date: Thu, 5 May 2005 09:34:15 -0400 From: Brian Fundakowski Feldman <green@freebsd.org> To: freebsd-hackers@freebsd.org Subject: Re: req: New feature to rm? Remove file by the inode number Message-ID: <20050505133415.GC77223@green.homeunix.org> In-Reply-To: <427A07EB.6060405@dnainternet.net> References: <427A014D.6020809@dnainternet.net> <20050505114206.GA86050@freebie.xs4all.nl> <427A07EB.6060405@dnainternet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 05, 2005 at 02:47:55PM +0300, Erik Udo wrote: > Wilko Bulte wrote: > >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. > > > > > >If you want do to it the hard way: clri(8) > > > >:-) > > > > Thanks! I'll use clri for this. It would still be a nice > feature in rm, after all, i dont think it's that hard to > make. Way overkill. find . -mindepth 1 -maxdepth 1 -inum <inode> -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050505133415.GC77223>
