MacOS – Mysterious folders that appeared in Documents on upgrade to Big Sur

big surmacos

After upgrading to Big Sur today (from macOS 10.14 Mojave) on my 2018 MacBook Air 13", I found a number of unwelcome new folders had appeared in my Documents folder (when viewed with Finder).

These folders are:

  • GarageBand
  • Keynote
  • Numbers
  • Pages
  • Preview
  • QuickTime Player
  • TextEdit

Each one, except Preview and TextEdit, contains a single Alias file called "iChats". The Preview and TextEdit folders are empty. Needless to say, I cannot open the iChats files.

I do not want these folders, but I can't move them to somewhere else, unlike my own genuine folders: a circle with a slash through it appears if I try.

So I thought I would look using Terminal, but cd Documents and then ls -a shows only my own files and directories. These unwanted interlopers are nowhere to be seen.

Edit: Some more information:

Following the advice of Joy Jin, I dragged each folder onto a Terminal window, to see what was revealed. The folders appear in Terminal as follows (every path begins with
/Users/davidhoadley/Library/Containers/ – I have edited that text out of each item below:

  • … com.apple.garageband10/Data/Documents
  • … com.apple.iWork.Keynote/Data/Documents
  • … com.apple.iWork.Numbers/Data/Documents
  • … com.apple.iWork.Pages/Data/Documents
  • … com.apple.Preview/Data/Documents
  • … com.apple.QuickTimePlayerX/Data/Documents

In answer to user3439894, yes, I can right-click and Move to Trash. But what then appears in the trash is the com.apple.(whatever)/Data/ folder, with several subfolders (i.e. not simply the folder from Documents that I described above). I do not know what these folders do, and I am afraid that if I delete them or send them to the trash, I will somehow adversely affect the running of the relevant applications.

So the folders appear to be some kind of link or alias. But they are not a unix-style hard link or a symbolic link, because they don't appear in the directory as seen from Terminal using the ls -a command.

So my question now becomes: is it safe to send them to the trash? And if anyone has any clues as to what the mechanism is that shows me these links/aliases/whatever they are, I would be most interested.

Best Answer

Finder now shows documents belonging to some sandboxed applications.

No other application shows these extra folders. In particular Terminal commands and Finder replacements, like Path Finder and ForkLift, do not show the folders.

The folders are only present in Finder when an application has put data in the ~/Library/Containers/app/Data/Documents folder.

The applications I see in ~/Documents all have content in iCloud Drive though the files in iCloud Drive are not the same as in Finder.

In my case, I see the pseudo-folders for 3rd party applications like BBEdit, iThoughtsX.

This behaviour seems to be designed to mimic the behaviour of the Files application in iOS.

There is no known way to turn off this behaviour. But I would be glad to shown wrong on this.

It is not a good idea to just delete the folders or the files in them. Deleting the files is likely to cause problems when using the applications because the content has been created by the application.

My solution is to create a new folder ~/MyDocuments and put all my documents in there. That leaves ~/Documents for Apple to manipulate.

If you dislike this behaviour, submit feedback to Apple.

Related Question