1000 Files on my mac randomly moved to trash. "put back" doesnt work. What do I do?

I'm a film maker who currently has two years worth of memories and clips for commercial projects in the trash. Last night I noticed that my background had randomly changed back to the Mojave default, and upon further inspection 1000 files from the folders on my desktop and other locations were thrown into the trash. I'm at a loss for what to do, Ive tried using first aid in disk utility, running a terminal script to remove everything from the trash and return it, and using "put back" on each individual file but nothing works. I'm at a loss for what else to try, and the only other forum post I could find is a decade old and no longer applicable it seems. Please help, im running 10.14.4 and havent done a backup in months


Also, everything was organized in a very specific way and some files are affiliated with software, so its not as simple as replacing each one by one. It shouldnt make a difference but I've added a screenshot of my specs for anyone wondering

MacBook

Posted on Sep 5, 2019 5:50 AM

Reply
Question marked as Top-ranking reply

Posted on Sep 5, 2019 6:26 AM

Parts of the Finder window are covered, but I can see that several (maybe all?) of the files in the Trash have a cloud icon.


Don't go changing anything before reading through, and making a backup!


Here is what I think is happening:


1) You have activated "Documents & Desktop in iCloud"

2) You have quite possibly checked the "Optimize Mac Storage"


Number 1) makes it so your "Documents" and "Desktop" folders are stored in your iCloud Drive.

To confirm this, open a Finder window, click on iCloud Drive in the Sidebar and check that you have those two folders there.


Number 2) allows files to be removed from your mac drive if necessary to save space, thus keeping them only in iCloud.


If this is the case, you should first make copies of your stuff somewhere else, like an external drive, then possibly uncheck these boxes. I cannot overemphasize the need for a backup. Should something fail in this process, you could easily suffer data loss.


Similar questions

5 replies
Question marked as Top-ranking reply

Sep 5, 2019 6:26 AM in response to tbretzmann

Parts of the Finder window are covered, but I can see that several (maybe all?) of the files in the Trash have a cloud icon.


Don't go changing anything before reading through, and making a backup!


Here is what I think is happening:


1) You have activated "Documents & Desktop in iCloud"

2) You have quite possibly checked the "Optimize Mac Storage"


Number 1) makes it so your "Documents" and "Desktop" folders are stored in your iCloud Drive.

To confirm this, open a Finder window, click on iCloud Drive in the Sidebar and check that you have those two folders there.


Number 2) allows files to be removed from your mac drive if necessary to save space, thus keeping them only in iCloud.


If this is the case, you should first make copies of your stuff somewhere else, like an external drive, then possibly uncheck these boxes. I cannot overemphasize the need for a backup. Should something fail in this process, you could easily suffer data loss.


Sep 5, 2019 6:48 AM in response to Luis Sequeira1

Luis, you’re absolutely right about the desktop and documents being saved to iCloud Drive. That was my best guess and I confirmed it minutes after posting. The issue is when that box is unchecked, a prompt appears notifying you that all files will be removed from the Mac but available in iCloud Drive and that only new files will not be stored in the cloud. This was checked by default when I purchased my MacBook two years ago, and I’ve neglected to change it due to potential data loss and did not see this issue ever happening. If I do a backup it still doesn’t fix my problem of file location, since time machine will still have all of the files in the trash. The most frustrating thing is when I select all of one file type in the trash (such as .wav) I can clearly see the path that the files were originally in, but can’t do anything to replace them. I’ve added a picture of what I’ve described to help, thanks for your quick response!

Sep 5, 2019 7:29 AM in response to tbretzmann

As I wrote before, BACKUP is extremely important.


The message you showed is one to make one - justifiably! - worry about potentially losing files.


That is why, in addition to doing a BACKUP somewhere else, I recommend that before you uncheck that box:

make a new folder on your mac - call it, say "Documents-My-Mac" - and copy everything that is in the Documents folder to this new one. Likewise, for Desktop.

Then you can safely uncheck the box, knowing that the files reside on your mac, in folders that are not affected by the change. After disabling Documents & Desktop in iCloud, you can grab all those files and put them in the actual Documents and Desktop folders and all should be back to normal.

Make sure that the files you see in the trash are copies of what is by now in the proper locations, and you can empty the trash.


Oh... and did I say you should have a BACKUP somewhere else? 😎

Sep 5, 2019 7:36 AM in response to Luis Sequeira1

Luis, I appreciate the tips but this still does not fix the fact that I will have to hand place 1000 files into various folders on my computer. I quite simply have maybe an hour a day of free time and I refuse to spend it trying to fix something that shouldn’t have gone wrong in the first place. I’m planning on taking it into the Genius Bar to see what they can do, thanks for your help

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

1000 Files on my mac randomly moved to trash. "put back" doesnt work. What do I do?

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