Working with files by inode

[[[TOC]]]
——-
= Find the inode number =
* Use either
** `stat {file-name}`
** `ls -il {file-name}`
——-
= Remove by inode with find =
* `find . -inum [inode-number] -exec rm -Rfi {} \;`
** Beware, this is recursive and does not warn


Posted

in

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *