Benches Uncategorized

3

Can not delete a folder [Error code -122]

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Hi.
When i try to delete the hidden file .Trashes (that Mac makes when you delete something off of an external harddrive/memory stick), i get the following error:

"Sorry, the operation could not be completed because an unexpected error eccurred
(Error code -122)"

Thanks i advance!

3 replies

Sign in or join Beachball Help to reply.

  1. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Are you trying to delete this file on a Mac? The error is an HFS badMovErr, i.e. a move not permitted under the Mac file structure. With +the external disk/memory stick connected to the Mac+, select Finder menu > Empty Trash. Now, you have an empty invisible .Trashes folder (i.e. uses 0 kb on disk) that you can just leave alone.

    The file can be deleted in a non-Mac OS (i.e. connect the disk/stick to a Windows PC and you can delete it), but the Mac will re-create it next time you connect.

    Hope this helps...

  2. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thanks very much, the "connect the disk/stick to a Windows PC and you can delete it" method worked perfectly. Thankyou.

  3. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Glad to help, and thanks for the !