Showing posts with label list files using inode. Show all posts
Showing posts with label list files using inode. Show all posts

Sunday, June 16, 2013

How to delete a file using inode

If the part of file name has some invalid charecters then we may face difficulty in deleting that file, so the best option to delete the file would be using inode number.

Below is the command for the same:

 # find /directory -inum [inode-number] -exec rm -i {} \;