Pages

Monday, June 25, 2012

How do I remove a file with funny characters or space in the filename

If you can't delete regular file with funny characters or space in the filename, then you can delete it using Inode Number.


find . -inum <inode number> -exec rm -i {} \;

you can find the inode number using command.


ls -i <filename>

No comments:

Post a Comment