req: New feature to rm? Remove file by the inode number

Tim Robbins tjr at freebsd.org
Thu May 5 04:34:34 PDT 2005


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


More information about the freebsd-hackers mailing list