Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

Unknown file in trash--Keeps reappearing

Jun 7, 2010 10:13PM PDT

I have an iMac with 10.5.8.

I have a strange and unknown file in the trash that will not go away. It has a horizontally broken name that looks like "nnnnE", has zero kb and a date of December 31st, 1903. When I empty the trash is stays there. If I try to get info on it, the info box pops up and then immediately disappears and the file disappears from the trash but will reappear as soon as I click on the trash. It's been in the trash for weeks now. I've tried everything I can think of. I've repaired permissions, I've run antivirus software. I've downloaded apps to force empty the trash--didn't work. I've used Disk Warrior to rebuild the directory. I'd post a photo of the file in the trash but this site doesn't seem to allow that. Does anyone have any suggestions or know what this is.

Discussion is locked

- Collapse -
Usually
Jun 7, 2010 11:35PM PDT

Usually when this sort of thing happens, you have to drop down to the Unix level to go in and manually delete the file.

I forget the exact path to the Trash folder off the top of my head, and my MBP is packed away at the moment, so I'll defer to someone else on the specifics. But if you already know the basics of navigating the filesystem via Unix commands and how to delete files, then you should already have enough info to do it yourself.

- Collapse -
Unknown file in trash--Keeps reappearing
Jun 8, 2010 2:29AM PDT

I do not have any experience at all with UNIX and would not want to do that if I can help it. Someone would have to post explicit directions on how to empty the trash that way. You'd think there would be a simpler way to empty a trash can!

- Collapse -
It's not that difficult
Jun 8, 2010 2:39AM PDT

It's not that difficult, and sounds a lot scarier than it is. Just never listen to anyone who tells you to run the command "rm -rf /" and you are off to a good start.

Sometimes files have a way of getting "stuck", and you have to sort of force them. Maybe a bit crude of an example, but think of it like a clogged toilet in need of a little plunging. Nobody really likes doing it, but it's sometimes necessary.

And every Mac user should have at least some rudimentary Unix skills. Enough to navigate the file system and do simple things like copy and delete files. You don't need to know what every single command does, just a few basics to deal with issues like this when they come along.

- Collapse -
terminal?
Jun 8, 2010 9:54PM PDT

Can you post exact instructions on emptying the trash through the terminal? Is that what needs to be done? I tried to find this at Apple.com and couldn't but maybe I was not searching exactly right. I did see a site that gave instructions on how to do it but it also gave the warning that "dire consequences" can occur if the commands are not typed in exactly right. This is what makes me not want to do it. Right now a file that won't go away and that's in the trash is not hurting anything. I won't trash my machine to fix this by inadvertently making a mistake in the terminal!

- Collapse -
I don't think so!
Jun 11, 2010 11:44AM PDT

I'm not sure what's worse: giving dangerously bad advice when you don't know what you are talking about or deliberately being malicious to someone legitimately seeking help. Either way, this advice from Jimmy is BAD, BAD, BAD!

rm -rf /

is a command that would attempt to remove every file from the hard drive!

Even without administrator privileges, it would remove all of a user's files--precious photos, e-mail, everything!

I'll provide a better example later in the thread where Jill is probably reading.

- Collapse -
(NT) I don't think so!
Jun 12, 2010 6:15AM PDT

Don't worry.....I don't plan on using the terminal to do anything about this unless I call into Apple and have a tech walk me through it. I do not want to inadvertently erase anything or cause huge problems for myself over a file that does not appear to be hurting me at all and is only a nuisance! I can start up in single user and run the utility and that's about the extent to which I want to enter code into my computer to try to get things done! I know my limitations, and the limits on what I'm willing to try without expert help.

- Collapse -
Select Force Empty Trash from the BatChmod Dock menu...
Jun 8, 2010 6:50AM PDT

have you tried using BatChmod ?

i would give you the url but apparently that's against the cnet rules for some reason

- Collapse -
Not against the rules,
Jun 8, 2010 8:49AM PDT

see the post following that one


P

- Collapse -
BatchMod
Jun 8, 2010 9:46PM PDT

I downloaded and ran the BatChmod app to empty the trash and now I can't see the file but it's still there! The trash says there's one item but when I open it I can't see the file anymore! Now what?

- Collapse -
Path Finder will show you that file
Jun 8, 2010 11:19PM PDT

Well, i have and use Path Finder as my default file viewer and it has "show invisible" files feature i find helpful for many different reasons ( such as checking the contents of an application ) : you can pick up a copy from http://cocoatech.com/ and try before you buy it to check out that "invisible" feature. It comes in Leopard and SnowLeopard flavours.

Personally speaking I would download Path Finder and "see" the invisible file BUT before zapping it I would contact Cocoatech asking for their guidance towards zapping that invisible file. I can't recall how you got it into the trash barrel. Perhaps it should be moved back to where it belongs. I am always cautious before i zapp those invisible files unless if know that doing so will not upset the UNIX component of OS X.

- Collapse -
Pathfinder
Jun 9, 2010 2:49AM PDT

I'll download and try Pathfinder. I don't know how this file got into the trash--it just showed up there a few weeks ago. I don't recognize it and can't get info on it. Now I can't see it either!

- Collapse -
...sometimes...
Jun 9, 2010 3:49AM PDT

sometimes it's just computer voodoo.

Personally i would not worry about it unless you have a programme ( DRAG THING ) that shows that old OS 9 and prior trash barrel on the desktop whereby that barrel is always bulging and it bugs you.

But see what the folks at Path Finder tell you how to get rid of that invisible or file or put it back to where it should be if that's the case or doable.

- Collapse -
Pathfinder
Jun 9, 2010 6:02AM PDT

Well......maybe I'm doing something wrong but the file in my home folder ".Trash" which I assume to be my trash can, shows nothing there but the trash can on the desktop says there's one item but shows nothing. I give up. I think it's a gremlin.

- Collapse -
download free Onyx for your operating system
Jun 9, 2010 8:29AM PDT

It has an option of force emptying the Trash. Helped many before.

- Collapse -
Onyx
Jun 9, 2010 8:37AM PDT

Well........so far three different apps that have a force trash empty feature did not work. I'm not sure I want to keep downloading one app after another. I'll give it some thought. Thanks for the suggestions!

- Collapse -
I presume, you have restarted in between
Jun 11, 2010 5:33AM PDT

and Disk Warrior was run not from the booted computer but you booted from DW disk. Another (may be lame but why not?) suggestion is to reapply OS combo update for your system.

- Collapse -
Disk Warrior
Jun 11, 2010 6:20AM PDT

Yes---I ran Disk Warrior from the CD. What "combo-update" am I supposed to re-apply? Any combo-updates would not have been recent. I install regularly with the software-update app so whatever has installed has come from that. This file has been in the trash now for so many weeks that I don't remember when it actually showed up or if it's related to an Apple update being installed......

- Collapse -
Software update should not be used for OS updates
Jun 11, 2010 7:46AM PDT

unless it is the first in the number (10.4.1, 10.5.1, etc.). This is because incremental updates may have small glitches that are usually not seen in combo updates (like 10.4.1 to 10.4.11 in one update is combo). You did not specify your OS version. It can be found if you click on the Apple logo at the top left screen corner and select "about this Mac". The latest updates are: for Tiger 10.4.11, for Leopard 10.5.8, for Snow Leopard 10.6.3. They are all available for free from Apple. Just Google for combo 10.4.11 (10.5.8, 10.6.3) and download the dmg file and install. This is a harmless procedure and might correct the problem. I agree with Jimmy Greystone about using Terminal as well. This link has all the instructions (starting from emptying Trash using Option key; I also like the idea of deleting .Trash directory): http://www.thexlab.com/faqs/trash.html
Good luck!

- Collapse -
Try this
Jun 11, 2010 3:56PM PDT

see if you can drag it to desktop using finder, rename it and lock the file using a password. drop it back into trash with another file. empty trash, it will tell you you cannot emtt trash due to a file being protected, go to "get info", unlock file, empty trash again. I had the same type of experience and this worked for me.... don't know why!

- Collapse -
Try this--
Jun 11, 2010 9:59PM PDT

I can't take the file out of the trash or even get info on it. As soon as I try to get info, the info box pops in and out in a flash and the file disappears until I open the trash again. Same thing with trying to drag it out. It just disappears completely and the reappears in the trash.

- Collapse -
onyx
Jun 13, 2010 6:54AM PDT

I already downloaded and tried Onyx. it did not work. I tried Path Finder to empty the trash. It did not work so I deleted the .Trash file with Path Finder and it did not work. I tried using the terminal and deleting the trash directory and that did not work.

- Collapse -
I see now that you have 10.5.8
Jun 11, 2010 12:27PM PDT

So, the combo update will be 10.5.8. Make sure you download the right one: one is for Intel Macs, the other for G4-G5.

- Collapse -
combo update
Jun 11, 2010 10:18PM PDT

Macnerd10---Are you saying that one of the automatic updates from Apple caused this file to appear and that installing the combo update over what I already have will fix it? Do you think that doing this adversely affect my computer in any other ways??

- Collapse -
10.5.8 combo update
Jun 11, 2010 10:24PM PDT

I'm more than a little hesitant to reinstall an update from a year ago! I have no idea what that might do. Couldn't I end up with much bigger problems than a phantom trash file?

- Collapse -
Nothing wrong with a combo update
Jun 12, 2010 3:14AM PDT

After you apply it, launch Software update and apply all necessary updates that will show up. This is a standard procedure and I never heard that it would harm the computer. It will just refresh the software and eliminate small errors that might have appeared. I have personally done that several times and never had a problem.
However, if you are hesitant, first do two things.
1. Go to sysprefs>accounts, click on the padlock, input your admin password and create a new account. Click on "allow this account to administer the computer. Give it a separate password. Log out-login into the new account. If the problem is still there, you have a system-wide issue and a combo update could be recommended. However, I am not God and only give you suggestion. There is no 100% guarantee that it will work.
2. Follow the instructions in the link that I provided, go to Terminal and try to get rid of that file as they recommend. Nothing wrong with that either. Don't forget to restart afterwards.
3. If you are hesitant about so many things, you could possibly leave that file alone if the machine works fine otherwise. If you really want to get rid of it, do something. You have plenty of opportunities to try. The link you now have has several options for you. We are not here to ruin your computer or work, just trying to help. If you do not believe what is being said here, research the problem yourself on Google or go to other forums, like finetunedmac.com. But I doubt that you would be offered with a radically different advise.

- Collapse -
Buy Microsoft
Jun 11, 2010 2:37PM PDT

I suppose that's too late.

Try making a file with that name, then delete it. Maybe it'll overwrite the bad file. (Probably won't work, but it's simple and fast.)

- Collapse -
Overwriting file
Jun 11, 2010 10:16PM PDT

I can't over write the file because I can't reproduce the file name. It' broken horizontally. I'd post a photo of it in the trash but this site does not appear to allow attachments.

The file name is: NNN NN

- Collapse -
Buy Microsoft
Jun 11, 2010 10:23PM PDT

Yes it's too late but i would not buy Microsoft if it was the only system available. I'd do without!

- Collapse -
1903?
Jun 11, 2010 2:38PM PDT

A file form 1903? That's an antique! How much you sell it for?

- Collapse -
Deleting trash
Jun 12, 2010 5:37AM PDT

"I also like the idea of deleting .Trash directory"

What would happen if I did that? does it just recreate it when the computer is restarted?