Unable to secure empty trash...
Hey folks, a quick problem.
I went to empty the trash, but about a quarter of the way through it stopped. I received a message that said "this operation cannot be completed because the item "htm" is in use"
there is no file "htm" in the trash, or anywhere else on the computer. i made sure that finder was the only program running.
Any ideas? suggestions?
I went to empty the trash, but about a quarter of the way through it stopped. I received a message that said "this operation cannot be completed because the item "htm" is in use"
there is no file "htm" in the trash, or anywhere else on the computer. i made sure that finder was the only program running.
Any ideas? suggestions?
Comments
cd ~/.Trash
ls -la
Originally posted by zherocharisma
Hey folks, a quick problem.
I went to empty the trash, but about a quarter of the way through it stopped. I received a message that said "this operation cannot be completed because the item "htm" is in use"
there is no file "htm" in the trash, or anywhere else on the computer. i made sure that finder was the only program running.
Any ideas? suggestions?
news flash: i've just read an entry in the Missing Manual that leads me to believe that a file was deleted while it was still being used by an application. so evidently there is some permission or a file state tag that is preserved in the trashed file. im now trying to figure out how to change the status of all trash files to 'closed' or whatever. forgive my jargon, not a big mac/unix user here.
any other ideas folks?
Also you could try opening up activity monitor and closing all programs associated with the files so that nothing is open. I've experienced files that would not delete but a restart always fixed it.
Hey folks, a quick problem.
I went to empty the trash, but about a quarter of the way through it stopped. I received a message that said "this operation cannot be completed because the item "htm" is in use"
there is no file "htm" in the trash, or anywhere else on the computer. i made sure that finder was the only program running.
Any ideas? suggestions?
lsof | grep htm
lundy - no results are returned for your suggested command. btw, i exchanged my trouble file name 'iphoto' instead of htm (the original posters trouble file name).
anything more guys? is there a unix file shredding command that i can sudo? thanks in advance.
macCrazy - that command works, but i am interested in wiping my obsolete files permanent and irrecoverable style.
The best way is to use Disk Utility to erase your free space. This way it will get rid of files you forgot to overwrite too. It will also cover your old Virtual memory files.
In unix, the if you use -P with the rm command, that's supposed to overwrite files.
If you are selling the machine, you are better to zero the drive and install the system again.