Thank for all your help, but this file is not going anywhere.
The file "Tiếng Việt.html" is in it's own folder called "Legal"
I can delete the whole folder but then it just sits in the trash
and will not permanently delete, it will just stay in the trash
all other items in the trash get deleted but this folder will not go
Any other ideas?
This is what I get when I try ls -1 Legal
lb0004:~ sandymartinez$ ls -1 legal/Users/sandymartinez/Desktop/Legal.rtf/
ls: legal/Users/sandymartinez/Desktop/Legal.rtf/: No such file or directory
I dont know what sudo to root is?
You want to type ls -l (the letter 'l', not the number '1') to get the full listing with permissions, so type as shown:
ls -ld ~/Desktop/Legal.rtf
ls -l ~/Desktop/Legal.rtf
This prints out the directory and file permission bits. Post them here when you're done.
Sudo'ing to root means switching to the root user, where you enjoy omnipotent godlike privileges on your system. You can remove the file as root in one shot by typing:
sudo rm -R /Users/sandymartinez/Desktop/Legal.rtf
I left off the 'f' option here so rm will prompt you to make sure you want to delete (this protects you in case you put a space between '/' and 'Legal.rtf', which would otherwise blow away your entire desktop..every UNIX user has accidentally done this to their horror sometime in their lives). Unless some process has the contents of this file memory mapped (which I doubt), this will remove the file.
lb0004:~ sandymartinez$ ls -ld ~/Desktop/Legal.rtf
drwxrwxrwx 3 sandymar admin 102 Jun 5 13:35 /Users/sandymartinez/Desktop/Legal.rtf
lb0004:~ sandymartinez$ ls -l ~/Desktop/Legal.rtf
ls: Tiếng Việt.html: No such file or directory
lb0004:~ sandymartinez$ sudo su
lb0004:/Users/sandymartinez root# rm -R /Users/sandymartinez/Desktop/Legal.rtf
rm: /Users/sandymartinez/Desktop/Legal.rtf/Tiếng Việt.html: No such file or directory
rm: /Users/sandymartinez/Desktop/Legal.rtf: Directory not empty
lb0004:/Users/sandymartinez root#
Silly question, but have you tried rebooting after placing the file (or entire directory) in the Trash, then after restart, emptying the Trash?
Another utility that's never failed for me is SuperEmptyTrash.
I have tried to reboot and it still will not delete
Also just tried your SuperEmptyTrash and it wont get rid of the files either
it says the directory is not empty
You either have a corrupted inode or (more likely) the Tieng file has non-printable characters in the file name.
If you go into the Legal.rtf directory and type in
rm -f *Ti*
does that remove it?
How do you get into the directory?
cd /Users/sandymartinez/Desktop/Legal.rtf
you need to put a space between the 'f' and the first '*', and use a capital 'T', exactly as so:
rm -f *Ti*