Damian Dudycz

Q: Delete Mobile Documents directories

I reinstalled OS X on my mac, but I can't get rid of old folders in ~/Library/Mobile Documents (or iCloud drive). Those are only visible in terminal. I would like to keep it clean on my iCloud Drive, but can't figure out how to delete directories from old applications. If I simply delete everything from this folder, it will appear again in seconds. Is there any way to delete these folders from iCloud drive? For example:

2287T87YW3~com~sis~si~myscans

2BUA8C4S2C~com~agilebits~onepassword

2BUA8C4S2C~com~agilebits~onepassword-ios

356QY8883U~com~melodis~soundhound~free

42BZWU92JZ~com~getairfile~ios~AirFile

4R6749AYRE~com~pixelmatorteam~pixelmator

82J93X7T25~com~apple~mobileiphoto

AP637KM5A4~UBI~088~WW

C5Z3V9M735~com~bitmonstergames~lili

CE7D7D92E2~com~wb~Batman~Brawler2013

E24N8SPR73~com~skyjos~fileexplorerfree

EFSFV3Q6SU~com~barrettj~episodetracker~lite

JFJ4SDLLV4~com~mediocre~smashhit

JZKSZCX743~com~square-enix~bloodmasque~e

MVUUK83754~com~itvshowsapp~itvshows3

SCR5F2GB2S~com~trueaxis~skate

U97HH4RE69~com~vimov~weatherhdliteed

UTDYXA6NM2~com~anuman~HomeDesign3D

XXKJ396S2Y~com~autodesk~SketchBookPro

com~apple~Automator

com~apple~CloudDocs

com~apple~Notes

com~apple~Preview

com~apple~QuickTimePlayerX

com~apple~ScriptEditor2

com~apple~TextEdit

com~apple~mail

com~apple~shoebox

com~apple~system~spotlight

MacBook Air, OS X Mountain Lion (10.8.3)

Posted on Jun 2, 2015 10:34 AM

Close

Q: Delete Mobile Documents directories

  • All replies
  • Helpful answers

  • by Cody DH,

    Cody DH Cody DH Aug 31, 2015 1:01 PM in response to Damian Dudycz
    Level 1 (89 points)
    iTunes
    Aug 31, 2015 1:01 PM in response to Damian Dudycz

    I have this same question. There are old apps listed that I don't use any longer, and I'd love to remove their old cruft, even if it's not a major space issue.

  • by Cody DH,

    Cody DH Cody DH Jan 21, 2016 4:22 PM in response to Damian Dudycz
    Level 1 (89 points)
    iTunes
    Jan 21, 2016 4:22 PM in response to Damian Dudycz

    Not sure this is legit, but I'd like to give this thread a bump to see if there are any options here.

  • by Damian Dudycz,

    Damian Dudycz Damian Dudycz Oct 21, 2016 10:42 PM in response to Damian Dudycz
    Level 1 (11 points)
    Quicktime
    Oct 21, 2016 10:42 PM in response to Damian Dudycz

    Still no way to solve this. I continue to have these folders of apps I deleted long time ago.

  • by Nijntje,

    Nijntje Nijntje Oct 22, 2016 4:06 AM in response to Damian Dudycz
    Level 1 (52 points)
    iCloud
    Oct 22, 2016 4:06 AM in response to Damian Dudycz

    So I studied a little on this subject. These are so called iCloud containers that can't be deleted. This is by design. For more details on this subject, from a developer perspective, see Enabling CloudKit in Your App and iCloud Fundamentals (Key-Value and Document Storage).

     

    This essentially means that Apple keeps an infinite log of every iCloud-enabled app that you have ever used. I agree that this is a bad thing. Take note: Apple is a company that's usually regard as minimalistic and that advertises their selfs for having 'privacy by design'.

  • by Drew Reece,

    Drew Reece Drew Reece Oct 22, 2016 10:32 AM in response to Nijntje
    Level 5 (7,808 points)
    Notebooks
    Oct 22, 2016 10:32 AM in response to Nijntje

    Damian Dudycz wrote:

    Still no way to solve this. I continue to have these folders of apps I deleted long time ago.

    Are you sure there is anything to 'solve'? This folder is part of iClouds document syncing with devices. If you start removing that data you may find that apps stop showing all of your files that you created.

     

    Nijntje wrote:

     

    So I studied a little on this subject. These are so called iCloud containers that can't be deleted. This is by design. For more details on this subject, from a developer perspective, see Enabling CloudKit in Your App and iCloud Fundamentals (Key-Value and Document Storage).

     

    This essentially means that Apple keeps an infinite log of every iCloud-enabled app that you have ever used. I agree that this is a bad thing. Take note: Apple is a company that's usually regard as minimalistic and that advertises their selfs for having 'privacy by design'.

     

    I think this really depends on the app that saved the data…

    Apps should purge the data if you opt to remove iCloud data within the app (where possible).

     

    iOS has 'Settings app > iCloud > Storage > Manage Storage'. That will show (some of) the synced app data. You can delete those & then iCloud purges them from your other synced devices too.

    http://www.imore.com/how-free-icloud-storage-space-cleaning-unused-documents-and -data

     

    On older OS X versions you may have the 'Documents & Data' in the iCloud settings, that lists the apps that are allowed to use iCloud for storage - but you can't delete them. This part of the UI has also changed too much for me to keep track of so it is probably different for you, dig into System Preferences > iCloud.

     

    As for the 'privacy' complaint - someone needs access to your iCloud account or to an unlocked/ unencrypted device to view this - all bets are off in that case. If you have any concern about privacy you should use encryption with screen locking and review any cloud based services.

     

    Apple's 'minimalism' is the reason that this is beyond your control.

     

    iCloud.com also has a 'reset documents' option in the settings. I don't know if that will help here, the explanation to what it does is also vague (good job Apple).

    Reset iCloud Documents & Data - Apple Support

  • by Damian Dudycz,

    Damian Dudycz Damian Dudycz Oct 22, 2016 12:09 PM in response to Drew Reece
    Level 1 (11 points)
    Quicktime
    Oct 22, 2016 12:09 PM in response to Drew Reece

    If I try removing these folders then files are removed, but the folders themselves are restored right away. The link you provided about reseting iCloud Documents & Data is obsolete (This article has been archived and is no longer updated by Apple.) and there is no longer such option. For me it's not really a privacy concern as much as that I would like to have it under control and maintain my system clean.

  • by Drew Reece,

    Drew Reece Drew Reece Oct 22, 2016 12:28 PM in response to Damian Dudycz
    Level 5 (7,808 points)
    Notebooks
    Oct 22, 2016 12:28 PM in response to Damian Dudycz

    The article is obsolete but the feature still exists in the iCloud.com settings page at the bottom (I did check & it is still there for me). That reset is unlikely to help anyway as I tried to elucidate earlier.

     

    These folders are how iCloud is designed to work, so you can stop using iCloud or forget about your aspirations for a 'clean system'.

    It may seem blunt but as you have already seen - iCloud is not designed to allow you to micromanage it. The folders will be empty if you have no data in that application. If you do have data then you probably need to open the app & remove it.

     

    I also just noticed a 'manage storage' option on OS X's System Preferences > iCloud. That does allow you to list & delete some apps from the iCloud containers storage. That will differ as Apple seems to alter it for every OS version…

     

    The key to this 'problem' is that iCloud holds the 'truth' in the cloud, so any changes you hope to make have to be done in the cloud otherwise the system will re-fetch the folders when on the internet. 'Truth' is considered to be the one central store of your data, Apple decided to put that 'truth' on their servers & didn't give you full the tools to do as you desire.

     

    Sorry it seems like it is not fit for the purpose you want, so you can complain to Apple or stop using it.

    http://apple.com/feedback

     

    Get info on the Mobile Documents folder to see how much disk space it uses, it may be very little or too little to worry about.

  • by Nijntje,

    Nijntje Nijntje Oct 22, 2016 3:53 PM in response to Drew Reece
    Level 1 (52 points)
    iCloud
    Oct 22, 2016 3:53 PM in response to Drew Reece

    Drew Reece wrote:

     

    Are you sure there is anything to 'solve'? This folder is part of iClouds document syncing with devices. If you start removing that data you may find that apps stop showing all of your files that you created.

     

    I think this really depends on the app that saved the data…

    Apps should purge the data if you opt to remove iCloud data within the app (where possible).

    This topic is not regarding files or app data, but discusses the empty directories that remain.

    Drew Reece wrote:

     

    As for the 'privacy' complaint - someone needs access to your iCloud account or to an unlocked/ unencrypted device to view this - all bets are off in that case. If you have any concern about privacy you should use encryption with screen locking and review any cloud based services.

    There is absolutely no need for retaining this information on Apple's servers, nor for sending them via internet to devices and maintaining a local copy there as well.

    Top notch security is no guarantee against undesired access. If this data is infinitely kept, there's plenty of time for f.e. malicious attacks to succeed or changed privacy policy due to leadership change, acquisitions, mergers and what not.

    No matter how small the risk of getting compromised, deleting this obsolete information would eliminate the risk completely.

    Damian Dudycz wrote:

     

    For me it's not really a privacy concern as much as that I would like to have it under control and maintain my system clean.

    This too, indeed. It's clutter. And you should have

    • the ability to manage your data;
    • the ability to decide what's on your device.

    Drew Reece wrote:

     

    or stop using it.

    That's one way to go...