Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 May 2005 13:46:07 +0200 (CEST)
From:      "Julien Gabel" <jpeg@thilelli.net>
To:        freebsd-hackers@freebsd.org
Subject:   Re: req: New feature to rm? Remove file by the inode number
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>

next in thread | previous in thread | raw e-mail | index | archive | help
>> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59863.192.168.1.20.1115293567.squirrel>