Skip to content

Instantly share code, notes, and snippets.

@thefury
Created March 26, 2014 15:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thefury/9785947 to your computer and use it in GitHub Desktop.
Save thefury/9785947 to your computer and use it in GitHub Desktop.
Removing a control character named file
# get the inode of the file
> ls -li .
1234567 ??badname????
# find and delete the file
> find . -inum 1234567 | xargs rm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment