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

Julien Gabel jpeg at thilelli.net
Thu May 5 04:46:15 PDT 2005


>> 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.



More information about the freebsd-hackers mailing list