OSX: The item XYZ.txt~ can’t be moved to the Trash because it can’t be deleted
Posted
by
dsg
on Super User
See other posts from Super User
or by dsg
Published on 2011-09-12T06:30:19Z
Indexed on
2012/08/29
9:41 UTC
Read the original article
Hit count: 672
I'm trying to delete a file under OSX Lion, but can't. I get the following message:
The item XYZ.txt~ can’t be moved to the Trash because it can’t be deleted.
Here's what I've tried:
- select file and press COMMAND + DELETE (I get the message above.)
- renaming the file in finder (There is no option to rename the file.)
sudo ls -a
in a terminal (The file does not appear.)sudo rm XYZ.txt~
(I get "No such file or directory".)
How do I remove this file?
EDIT
The file went away after restarting. My guess is that it was a glitch in finder.
© Super User or respective owner