Created
January 9, 2015 11:22
-
-
Save dufferzafar/852dfbbe8b6764a3d24d to your computer and use it in GitHub Desktop.
Delete a file with special characters in its name.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# First find out the inode by | |
# ls -il . | |
# Then delete file | |
sudo find . -inum $1 -exec rm -rf {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment