Tuesday, July 26, 2011

Delete a file using Inode number

You can delete a file using it's inode number as follows.
find . -inum 88 -exec rm -i {} \;

This will find the file with inum 88 in the present directory and delete it.

No comments:

Post a Comment