Home » Questions » Computers [ Ask a new question ]

How to empty the trash?

How to empty the trash?

There is a strange file in my Trash that doesn't go away when I empty the trash. The file name looks like:

Asked by: Guest | Views: 215
Total answers/comments: 2
bert [Entry]

This person had the same problem, and fixed it by performing a disk check in Windows.
bert [Entry]

"Have you tried deleting by inode?

ls -i

will show the files and their inode numbers

$ ls -i *.log
694197 alf.log 694719 mb.log
694181 fsck_hfs.log 24190 secure.log
802696 hdiejectd.log 694195 system.log
1094966 install.log 694396 windowserver.log
24189 ipfw.log

Then use find to remove by inode (say I wanted to delete mb.log from above):

find . -inum 694719 -exec rm {} \;"