Difficult to Delete Files in Linux
There's a lot of stuff about this on the Internet, but most of the examples there are contrived. How does one delete files that are really stubborn? e.g.,
$ find ./ -inum 167794
./àKÈÿÿÿÿ@
$ find ./ -inum 167794 -exec rm \"{}\" \;
rm: cannot lstat `"./\037\340\025K\021\004\310\377\377\377\377@\020\002"': Invalid or incomplete multibyte or wide character
Solution 1:
Try removing the escaped double quotes. I believe rm thinks those are part of the filename.
find ./ -inum 167794 -exec rm {} \;
Solution 2:
Better way with modern find (version 4.2.3 or later):
find ./ -inum 167794 -delete