Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

40GB stuck in the trash..

Hi all,

I have 40GB stuck in the trash ..I get:


'The operation can’t be completed because an unexpected error occurred (error code -8003)'

if I try to move them to the desktop they start to make a duplicate of themselves!

I had a similar 'error occurred' message earlier when I tried to copy these file to my WD 2tb ext drive?


Not sure if this is relevant but in the last week I had the Genius bar replace my Segate HD (recalled) ..so I have a fresh Snow Leopard OS

thank god for time machine!

thanks in advance


Digital Dick

aka Richard 🙂


2009 iMac - Intel Core 2 Duo 3.06 GHz 12Gb ram OSX 10.6.8

iMac, Mac OS X (10.6.8), Intel Core 2 Duo 3.06 GHz 12Gb ram

Posted on Jan 15, 2013 9:11 AM

Reply
20 replies

Jan 15, 2013 1:57 PM in response to WZZZ

Thanks for replying WZZZ, here's where the 40 came from:

I use a 2TB external drive that I backup once a week..

I have 2 master folders A & B on my Mac.. one I keep all my work files the other I keep my personal files mp3's etc

I drag and drop both A & B folders to the 2TB drive.. once they have successfully copied over I dump the previous weeks A & B folders.. then pop it round my mums.. job done.


Today half way through copying over the first folder I get 'The operation can’t be completed because an unexpected error occurred' ..lovely!

So the 40GB that did manage to copy over gets sent to the trash.. then when I empty the trash I get the second message 'The operation can’t be completed because an unexpected error occurred (error code -8003)' bliss!!

..and thats the story of the 40, did all that make sense?

Jan 15, 2013 3:46 PM in response to Digital Dick

Each disk/volume has its own trash, so we first have to determine which trash the 40GB ended up in, and if the original your were copying over still exists on the internal of the Mac. The latter is easy to answer just by looking, the second by simply disconnecting the external first then looking in the Trash of the Mac. If it's not there, it's in the external's Trash.


First, see if the trash will empty this way:

  1. Press and hold the mouse button on the Trash icon in the Dock. The context menu for Trash will display.
  2. Press and hold the Option key or the Shift-Option keyboard combination,
  3. Select Empty Trash from the context menu for Trash.
  4. Release the keys pressed and held in step 2.


If you still have the original you were copying over on the internal of the Mac--you don't want to do this unless you do--and what your were copying over resides now in the Mac's Trash, then copy/paste only the following into Terminal in Utilities, which will nuke the Mac's Trash. A typo can be disastrous, so only copy/paste.


sudo rm -rf ~/.Trash


Hit return and you will be prompted for your admin password, which won't be displayed in any form. You will also get a scary warning about using the sudo prefix. Hit return again and the entire Trash of the Mac, including the Trash folder, will be nuked. It will take some time to empty the 40GB, so wait until you get a new $ sign prompt, which will indicate it's finished. When you do just close the window. To restore the Mac's trash folder, not the contents, just log out and back in.


If the 40GB is in the trash of the external, then you will have to enter the following. And here, since I don't know the name of the external volume, you will have to be extremely careful. If there are any spaces in the name of the external, it must be entered, as in the example below, in quotes. If not, then no quotes. Note: there is a space between sudo rm and between rm and -rf. There is no space between / (the forward slash) and Volumes. This is critical. Trashes here is plural. When entering the name of the external, pay attention to case. Except for the possibility of spaces in the name of the external, there are no more spaces in this command.


sudo rm -rf /Volumes/"name of external volume"/.Trashes

Jan 16, 2013 3:55 AM in response to WZZZ

..okay this is new territory for me, I disconect the 2TB drive and the 40 vanishes from the trash.. I connect the 2TB drive and the 40 is back.. so it's in the externals Trash..

FYI The name of the external drive is:

2TB


So now you are suggesting

1) Open Terminal

2) Paste: sudo rm -rf /Volumes/2TB/.Trashes

3) Hit return

4) Enter my admin password

- scary sudo warning

5) Hit return

- 2TB Trash gets nuked

6) Close the Terminal window when $ appears

7) Log out ..then in to restore the Mac's trash folder.

Job done.


I'll wait for your reply on this before I try it.

cheers

Richard.

Jan 16, 2013 8:39 AM in response to Digital Dick

Okay.. I've just tried to copy Folder 'A' (120gb) from my desktop to the 2TB ext-drive, after 10 minutes I get:


'The operation can’t be completed because you don’t have permission to access some of the items'

Why does this happen? I've been using this backup process for 2-3 years never had this before..?

hope there is an easy fix..


..whats your thoughts WZZZ?

Jan 18, 2013 5:05 AM in response to WZZZ

Ok another problem has arisen.. I'm going with the 'Macobserver.com' suggestion (reset the ACLs) but the Macs install disc doesn't mount? ..goes into fast spin mode 3 times ..then gives up and ejects??

I've hardly used this Rom drive.. occasionally I've burnt data to CD's no problem but thats about it??

It mounts regular film dvd's and audio disk but not the installer disk..


any suggestions welcome.

Cheers Richard.

40GB stuck in the trash..

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.