How would a folder's contents be deleted

I was looking for a doc on a folder I've had on my Mac for years. I could see the contents a few months ago. When I spoke to Apple support, she said I deleted the files. Impossible. This is a hugely important work folder with at least 70 files in it. I would have had to delete one by one- there is no way that would happen and I don't remember. Also, makes no sense.


So how did this happen? The iCloud folder is also empty. One file that was in that folder I found through a search my Mac. It is Excel and can't be opened due to corruption. It is 165 bytes so that file content is empty. It's such a mess and the contents are nowhere else.


I'd like to know how this happened as I'm now worried about the rest of the documents on my Mac.

MacBook Pro 13″, macOS 14.7

Posted on Jan 11, 2025 3:39 PM

Reply
13 replies
Sort By: 

Jan 12, 2025 1:09 PM in response to originale

I actually thought of something else as I read your latest post. Perhaps the files are still there, but are hidden. I have seen a few posts on this forum where some people have encountered this issue. With a Finder window open, press Shift + Command + Period/Dot which will toggle the ability to see hidden files on & off. Most of your folders won't contain any hidden items so you may not see any difference when you use the keys to toggle on the ability to view hidden files. If you have your home user folder selected, then you will be able to see the hidden Library folder appear & disappear.


Once you toggle the hidden file view on, then it applies to all folders you navigate to within the Finder until you toggle it off.

Reply

Jan 12, 2025 1:23 PM in response to originale

If you're certain that you or an app hasn't deleted them then it's possible that you've dragged the folder somewhere else when being a bit careless with a mouse or trackpad. I know I've done this on more than one occasion with a file or a folder - it's easily done. What I recommend is to get a decent search app. Spotlight doesn't search everywhere and everything so if you've only searched for the folder using Spotlight it's possible that the folder is hiding on your disc somewhere. I use easyfind but others are available and I have no affiliation. If you know the name of the folder or any of the files on it and it's on your hard disc then easyfind will find it.

Reply

Jan 11, 2025 8:18 PM in response to originale

originale wrote:

The only way to delete them was to consciously do it.

That is not true. It is very easy to accidentally delete a file no matter how careful you may be. It has happened to me several times over the years and I'm very careful. Plus some apps or utilities may delete files without placing them into the Trash.


If you are using any anti-virus software, cleaning/optimizer apps, or third party security software, then they may have done something with your file(s).


Did you remember to check the Trash?


Also, I believe if iCloud is enabled, then your normal Desktop, Documents, and Downloads folder may no longer contain your files as they may be relocated to a special iCloud syncing folder within your macOS user account's hidden Library folder. I don't use iCloud for my files, so I cannot say for sure how this all works or exactly where these files would be located.


If you turned off iCloud, then there are a couple of options that can be selected that can determine what happens to the data that was previously being synced to iCloud.


Only backed up to iCloud and it mirrors the lPtop
of course.

iCloud is not a backup option for macOS. Only iPhones & iPads have an iCloud backup option.


iCloud is a file syncing service that allows you to access shared files with any device connected with your AppleID. If you make a catastrophic file edit or deletion on one device, then that same catastrophic edit/deletion occurs to that file on all your other devices using iCloud.


You can see if your documents can be recovered from iCloud using the information in the following Apple article:

Recover deleted files on iCloud.com - Apple Support


I used to backup to a thumb drive

That is not a very good option since the quality of USB sticks is extremely poor. Plus many USB sticks tend to silently introduce bit errors over time as well and are much easier to lose than an actually external hard drive or SSD.


and Apple said not necessary with the cloud. Shouldn’t have listened

Unfortunately Apple support agents don't always fully understand users' needs or even Apple's own products & services. Apple promotes a lot of things making people think things work one way when in reality they work completely differently. I've seen a lot of discussions on this forum among very knowledgeable forum contributors regarding the behavior of iCloud and other services since Apple's documentation is sometimes very limited on details and sometimes even misleading & confusing.


People should always have frequent and regular backups of their computers and all external media (including the cloud) which contains important & unique data. Apple includes Time Machine backup software with macOS to make this easy for users, but there are also third party backup software & services as well.


Reply

Jan 11, 2025 5:21 PM in response to originale

Well, Apple support was correct in the sense that files don't delete themselves - so if you didn't delete them (and it is entire possible to delete multiple files at once) then someone or some program did. Have you been running any "maintenance" software to free up space or something like that?


Really though, the most important question - especially if you know the files were there a couple of months ago because you were using them - is did you have a backup system in place? If so, you should be using it to recover the files ASAP.

Reply

Jan 12, 2025 6:53 AM in response to originale

I agree but you don't accidentally delete 70 of them. I have looked absolutely everywhere unless there is a hidden files app which I haven't found. I'll check what you have mentioned. And yes!! You just reminded me that I have an external drive that I have backed up too and don't do it often when the agent said don't worry. I'll check that. Thank you so much for that reminder. And for the correction. Of course if I really thought about it instead of being too busy and preoccupied to think about it- I know that deletion on Mac would delete cloud. Duh... that's why I bought the external backup drive.


I'll let you know. I've spent hours thinking and looking for my files. But it still makes me wonder what happened. Even checked One Drive although I don't know how stuff gets there. Some files and folders are there- others not.

Reply

Feb 5, 2025 2:20 PM in response to HWTech

I got distracted with work and discouraged about this missing folder. And OMG!! You're right! It's there. Actually, my whole Documents folder is hidden. Why is that do you think.


But Thank you. Thank you. So now how do you get it unhidden?

Reply

Feb 5, 2025 5:06 PM in response to originale

OK, well...you could open Terminal and see if the following fixes your problem:


chflags nohidden ~/Documents


The usual way to hide a folder is to apply a "hidden" flag to it - that command does the opposite. And best of all, it shouldn't require any special permissions as an admin (i.e., "sudo") since you own everything in your Home folder. If it doesn't work, then something else is causing Finder to think your Documents folder is hidden.

Reply

Feb 5, 2025 5:41 PM in response to g_wolfman

I'm nervous to go into terminal. Is it possible doing this action could wipe things out? So what I don't understand is what this action does. Am I trying to unhide the folder? And I don't know how the hidden flag would have been put on the Documents folder. I have no idea how to add a flag.

Reply

Feb 5, 2025 6:13 PM in response to originale

Just copy & paste the command @g_wolfman provided which will ensure no mistake is made. That command will only affect the Documents folder itself and nothing within it. As the command is written, it will only make the Documents folder visible again.....nothing else will happen.


FYI, you should never be worried about your data since you should always have frequent and regular backups of the computer and all external media (including the cloud) which contains important & unique data. There are a lot more new ways to permanently lose access to the data stored on the internal SSD of the recent Macs due to all the hardware, software, and security changes.

Reply

Feb 7, 2025 2:48 PM in response to originale

The command is to change the file/folder flags - specifically to toggle the hidden/not hidden flag to "not hidden" on your Home Documents folder ("~" is a shortcut for your account's Home folder).


I have no idea myself how your "hidden" flag might have been set on that folder...but in macOS there are really only two usual ways to hide a file or folder - the "hidden" flag which tells Finder not to display it, or naming it with a leading period (like ".Documents" which the Unix part of macOS interprets as meaning it should be hidden.

Reply

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.

How would a folder's contents be deleted

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