Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Nboy123

macrumors newbie
Aug 10, 2018
3
1
Thank you so much I really appreciate it! I am now down to 18 GB for system.


Hi, I have a similar problem with my 2017 MacBook Pro. System currently takes up about 100 Gb. I tried following the code and found that "Users" is taking up the most space. But when I try the next line of code it says theres no such file or directory for users...

3 /private

1 /.DocumentRevisions-V100

0 /.vol

190 /Users

11 /Applications

1 /dev

0 /Volumes

0 /cores

214 /

214 total
 

Nboy123

macrumors newbie
Aug 10, 2018
3
1
Try this to show the users folder.

Code:
sudo du -d 1 -x -c -g ~/

ok this is what I got from that.
1 /Users/nateschuster//.config

1 /Users/nateschuster//Music

1 /Users/nateschuster//.fxhome-helper

1 /Users/nateschuster//.local

8 /Users/nateschuster//Pictures

11 /Users/nateschuster//Desktop

7 /Users/nateschuster//Library

1 /Users/nateschuster//iCloud Drive (Archive)

1 /Users/nateschuster//.android

1 /Users/nateschuster//.cups

1 /Users/nateschuster//.bash_sessions

0 /Users/nateschuster//Public

95 /Users/nateschuster//Movies

1 /Users/nateschuster//Applications

1 /Users/nateschuster//.Trash

34 /Users/nateschuster//Documents

3 /Users/nateschuster//Downloads

1 /Users/nateschuster//.cache

157 /Users/nateschuster/

157 total
 

Nboy123

macrumors newbie
Aug 10, 2018
3
1
I have found the problem. the iMovie library was taking 95 gb. deleting it got rid of the system storage part and gave me 118 gbs. Thank you.
 
  • Like
Reactions: Weaselboy

n0dragon

macrumors newbie
Sep 17, 2018
26
50
This thread is so helpful! I used the command to find the culprit of high System storage. It was all those historic HomeBrew packages. Once I run brew cleanup, it instantly released 55GB storage.
 

CrazyHorse019

macrumors newbie
Sep 22, 2018
2
0
UK
hey guys - i have similar issues but instead of users my issue is in this directory --> /opt/pt/Library/Containers/

with 84 folders reading at 2gb each!? adding 168GB to my system folder.

Any clue if i can delete these and resolve the issue? or is there a command needed?

I opened a thread on apples community forums - https://discussions.apple.com/thread/8548280

Code:
2 /opt/pt/Library/Containers//com.apple.CloudPhotosConfiguration

2 /opt/pt/Library/Containers//com.apple.iCal.CalendarNC

2 /opt/pt/Library/Containers//com.apple.languageassetd

2 /opt/pt/Library/Containers//com.apple.photos.VideoConversionService

2 /opt/pt/Library/Containers//com.apple.iCal

2 /opt/pt/Library/Containers//com.apple.share.Video.upload-Youku

2 /opt/pt/Library/Containers//com.apple.QuickTimePlayerX

2 /opt/pt/Library/Containers//com.apple.PassKit.PaymentAuthorizationUIExtension

2 /opt/pt/Library/Containers//com.apple.share.System.set-account-picture

2 /opt/pt/Library/Containers//com.apple.FaceTime

2 /opt/pt/Library/Containers//com.apple.iTunesStorageExtension

2 /opt/pt/Library/Containers//com.apple.share.System.add-to-iphoto

2 /opt/pt/Library/Containers//com.apple.calculator

2 /opt/pt/Library/Containers//com.apple.photos.ImageConversionService

2 /opt/pt/Library/Containers//com.apple.notificationcenterui.WeatherSummary

2 /opt/pt/Library/Containers//com.apple.PhotoBooth

2 /opt/pt/Library/Containers//com.apple.ncplugin.weather

2 /opt/pt/Library/Containers//com.apple.SSMenuAgent

2 /opt/pt/Library/Containers//com.apple.osx-tailspin

2 /opt/pt/Library/Containers//com.apple.iWork.Numbers

2 /opt/pt/Library/Containers//com.apple.quicklook.QuickLookUIService

2 /opt/pt/Library/Containers//com.microsoft.rdc.macos

2 /opt/pt/Library/Containers//com.apple.WeatherKitService

2 /opt/pt/Library/Containers//com.apple.sharekit.EntitlementsHelper

2 /opt/pt/Library/Containers//com.apple.contacts.donation-agent

2 /opt/pt/Library/Containers//com.apple.diagnosticextensions.osx.timemachine

2 /opt/pt/Library/Containers//com.apple.photolibraryd

2 /opt/pt/Library/Containers//com.apple.siri.media-indexer

2 /opt/pt/Library/Containers//com.apple.CryptoTokenKit.setoken

2 /opt/pt/Library/Containers//com.apple.MailServiceAgent

2 /opt/pt/Library/Containers//com.apple.share.System.set-desktop-image

2 /opt/pt/Library/Containers//com.apple.lateragent

2 /opt/pt/Library/Containers//com.apple.TelephonyUtilities.IntentHandler

2 /opt/pt/Library/Containers//com.apple.BKAgentService

2 /opt/pt/Library/Containers//com.apple.cloudphotosd

2 /opt/pt/Library/Containers//com.apple.diagnosticextensions.osx.safari

2 /opt/pt/Library/Containers//com.apple.LookupViewService

2 /opt/pt/Library/Containers//com.apple.share.LinkedIn.set-profile-image

2 /opt/pt/Library/Containers//com.apple.tonelibraryd

2 /opt/pt/Library/Containers//com.apple.Maps

2 /opt/pt/Library/Containers//com.apple.diagnosticextensions.osx.getmobilityinfo

2 /opt/pt/Library/Containers//com.apple.ncplugin.FindMyFriends

2 /opt/pt/Library/Containers//com.apple.share.Video.upload-Tudou

2 /opt/pt/Library/Containers//com.apple.share.Video.upload-video-Flickr

2 /opt/pt/Library/Containers//com.apple.diagnosticextensions.osx.maillogs

2 /opt/pt/Library/Containers//com.apple.CalendarNotification.CalNCService

2 /opt/pt/Library/Containers//com.apple.share.System.set-buddy-picture

2 /opt/pt/Library/Containers//com.apple.Grab

2 /opt/pt/Library/Containers//com.apple.Notes.HTMLConverter

2 /opt/pt/Library/Containers//com.apple.CloudDocsDaemon.StorageManagement

2 /opt/pt/Library/Containers//com.apple.iBooksX-SecureUserDefaults

2 /opt/pt/Library/Containers//com.apple.iMovieApp

2 /opt/pt/Library/Containers//com.apple.Safari.CacheDeleteExtension

2 /opt/pt/Library/Containers//com.apple.AddressBook.ContactsAccountsService

2 /opt/pt/Library/Containers//com.apple.share.Facebook.set-profile-image

2 /opt/pt/Library/Containers//com.apple.iBooksX

2 /opt/pt/Library/Containers//com.apple.AmbientDisplayAgent

2 /opt/pt/Library/Containers//com.apple.ncplugin.stocks

2 /opt/pt/Library/Containers//com.apple.ncplugin.calculator

2 /opt/pt/Library/Containers//com.apple.iBooksX.DiskSpaceEfficiency

2 /opt/pt/Library/Containers//com.apple.messages.StorageManagementExtension

2 /opt/pt/Library/Containers//com.apple.ContactsUI.ContactPickerService

2 /opt/pt/Library/Containers//com.apple.Localization.SetDefaultsService

2 /opt/pt/Library/Containers//com.apple.inputmethod.EmojiFunctionRowItem

2 /opt/pt/Library/Containers//com.apple.share.Twitter.set-profile-image

2 /opt/pt/Library/Containers//com.apple.STMExtension.OtherUsers

2 /opt/pt/Library/Containers//com.apple.diagnosticextensions.osx.bluetooth

2 /opt/pt/Library/Containers//com.apple.share.CloudSharing.invite

2 /opt/pt/Library/Containers//com.apple.iWork.Keynote

2 /opt/pt/Library/Containers//com.apple.share.SocialWidget

2 /opt/pt/Library/Containers//com.apple.diagnosticextensions.osx.installlog

2 /opt/pt/Library/Containers//com.apple.photoanalysisd

2 /opt/pt/Library/Containers//com.apple.share.Mail.compose-back-to-sender

2 /opt/pt/Library/Containers//com.apple..NowPlayingWidgetContainer

2 /opt/pt/Library/Containers//com.apple.MediaLibraryService

2 /opt/pt/Library/Containers//com.apple.iChat

2 /opt/pt/Library/Containers//com.apple.signpost.signpost-notificationd

2 /opt/pt/Library/Containers//com.apple.iWork.Pages

2 /opt/pt/Library/Containers//com.apple.messages.MapRenderingService

2 /opt/pt/Library/Containers//com.apple.CloudDocs.MobileDocumentsFileProvider

2 /opt/pt/Library/Containers//com.apple.share.TencentWeibo.post

2 /opt/pt/Library/Containers//com.apple.STMFramework.UIHelper

2 /opt/pt/Library/Containers//com.apple.share.Video.upload-Vimeo

2 /opt/pt/Library/Containers//com.apple.AddressBook.UrlForwarder

2 /opt/pt/Library/Containers//com.apple.mail

2 /opt/pt/Library/Containers//com.apple.soagent

2 /opt/pt/Library/Containers//com.apple.DataDetectorsLocalSources

2 /opt/pt/Library/Containers//com.apple.Photos

2 /opt/pt/Library/Containers//com.apple.reminders.RemindersNC

2 /opt/pt/Library/Containers//com.apple.ContactsAgent

2 /opt/pt/Library/Containers//com.apple.PassXPCService

2 /opt/pt/Library/Containers//com.apple.appstore

2 /opt/pt/Library/Containers//com.apple.MarkupUI.MarkupPhotoExtension

2 /opt/pt/Library/Containers//com.apple.Siri

2 /opt/pt/Library/Containers//com.apple.PhotoLibraryMigrationUtility

2 /opt/pt/Library/Containers//com.apple.Pass-Viewer

2 /opt/pt/Library/Containers//com.apple.Notes

2 /opt/pt/Library/Containers//com.apple.accessibility.heard

2 /opt/pt/Library/Containers//com.apple.MarkupUI.Markup

2 /opt/pt/Library/Containers//com.apple.garageband10

2 /opt/pt/Library/Containers//com.apple.STMExtension.Trash

2 /opt/pt/Library/Containers//com.apple.diagnosticextensions.osx.syslog

2 /opt/pt/Library/Containers//com.apple.MailCacheDelete

2 /opt/pt/Library/Containers//com.apple.STMExtension.iOSFiles

2 /opt/pt/Library/Containers//com.apple.STMExtension.Applications

2 /opt/pt/Library/Containers//com.apple.photomodel

2 /opt/pt/Library/Containers//com.apple.reminders

2 /opt/pt/Library/Containers//com.apple.Dictionary

2 /opt/pt/Library/Containers//com.apple.TextEdit

2 /opt/pt/Library/Containers//com.apple.grapher

2 /opt/pt/Library/Containers//com.apple.CryptoTokenKit.pivtoken

2 /opt/pt/Library/Containers//com.apple.systempreferences.cacheAssistant

2 /opt/pt/Library/Containers//com.apple.Photos.StorageManagementExtension

2 /opt/pt/Library/Containers//com.apple.ncplugin.WorldClock

2 /opt/pt/Library/Containers//com.apple.diagnosticextensions.osx.systemprofile

2 /opt/pt/Library/Containers//com.apple.share.Facebook.post

2 /opt/pt/Library/Containers//com.apple.geod

2 /opt/pt/Library/Containers//com.apple.appstore.PluginXPCService

2 /opt/pt/Library/Containers//com.apple.CalendarAgent

2 /opt/pt/Library/Containers//com.apple.CaptiveNetworkAssistant

2 /opt/pt/Library/Containers//com.apple.Chess

2 /opt/pt/Library/Containers//com.apple.diagnosticextensions.osx.filevault

2 /opt/pt/Library/Containers//com.apple.share.AirDrop.send

2 /opt/pt/Library/Containers//com.apple.photomoments

2 /opt/pt/Library/Containers//com.apple.DataDetectorsViewService

2 /opt/pt/Library/Containers//com.apple.STMExtension.Mail

2 /opt/pt/Library/Containers//com.apple.PhotoIngestService

2 /opt/pt/Library/Containers//com.apple.coremedia.pluginformatreader

2 /opt/pt/Library/Containers//com.apple.STMExtension.GarageBand

2 /opt/pt/Library/Containers//com.apple.weather

2 /opt/pt/Library/Containers//com.apple.share.Twitter.post

2 /opt/pt/Library/Containers//com.apple.Preview

1 /opt/pt/Library/Containers//com.apple.Siri.SiriTodayExtension

2 /opt/pt/Library/Containers//com.apple.appkit.xpc.LegacyExternalColorPickerServi ce

2 /opt/pt/Library/Containers//com.apple.stocks

2 /opt/pt/Library/Containers//com.apple.AddressBook.ABPersonViewService

2 /opt/pt/Library/Containers//com.apple.diagnosticextensions.osx.spotlight

2 /opt/pt/Library/Containers//com.apple.accessibility.mediaaccessibilityd

2 /opt/pt/Library/Containers//com.apple.share.Video.upload-image-Flickr

2 /opt/pt/Library/Containers//com.apple.Notes.datastore

2 /opt/pt/Library/Containers//com.apple.Notes.NotesImporter

2 /opt/pt/Library/Containers//com.apple.quicklook.ui.helper

2 /opt/pt/Library/Containers//com.apple.iBooksX.CacheDelete

2 /opt/pt/Library/Containers//com.apple.NetworkExtension.IKEv2Provider

2 /opt/pt/Library/Containers//com.apple.share.System.add-to-safari-reading-list

2 /opt/pt/Library/Containers//com.apple.share.System.add-to-aperture

2 /opt/pt/Library/Containers//com.apple.AuthKitUI.AKFollowUpServerUIExtension

2 /opt/pt/Library/Containers//com.apple.share.Mail.compose

2 /opt/pt/Library/Containers//com.apple.diagnosticextensions.osx.wifi

2 /opt/pt/Library/Containers//com.apple.SiriNCService

2 /opt/pt/Library/Containers//com.apple.share.LinkedIn.post

2 /opt/pt/Library/Containers//com.apple.siri.DeepSyncVerificationService

2 /opt/pt/Library/Containers//com.apple.ScreenSharing

2 /opt/pt/Library/Containers//com.apple.AirPlayUIAgent

2 /opt/pt/Library/Containers//com.apple.share.SinaWeibo.post

2 /opt/pt/Library/Containers//com.apple.AddressBook

2 /opt/pt/Library/Containers//com.apple.iTunesCacheExtension

2 /opt/pt/Library/Containers//com.apple.DataDetectorsActionService

2 /opt/pt/Library/Containers//com.apple.print.normalizerd

2 /opt/pt/Library/Containers//com.apple.PhotoThemeService

2 /opt/pt/Library/Containers//com.apple.mediaanalysisd

2 /opt/pt/Library/Containers//com.apple.ImageKit.RecentPictureService

2 /opt/pt/Library/Containers//com.apple.OSDUIHelper

2 /opt/pt/Library/Containers//com.apple.SocialPushAgent

2 /opt/pt/Library/Containers//com.apple.share.Video.upload-Facebook

2 /opt/pt/Library/Containers//com.apple.CalendarFileHandler

169 /opt/pt/Library/Containers/

169 total
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
34,471
16,181
California
Any clue if i can delete these and resolve the issue? or is there a command needed?
I know the command to delete that, but I'm a little afraid to delete it not knowing what it is. I don't want to break anything.

I don't have that /opt folder and Google is not helping at all. @chown33 any ideas?
 

dsemf

macrumors 6502
Jul 26, 2014
441
114
I suspect that the /opt files are created by either malware or a third party application.

I would try running MalwareBytes and EtreCheck.

DS
 

jbarley

macrumors 601
Jul 1, 2006
4,023
1,895
Vancouver Island
whenever I'm in doubt about safely deleting files/folders I turn to Carbon Copy, I make a fresh cloned backup, then I go wild deleting the suspicious files and see what happens.
Usually I'll work my system hard for a few hours/days and if nothing shows up I'm good to go, and if the system is broken then it's time to restore the known good clone.
 
  • Like
Reactions: Weaselboy

CrazyHorse019

macrumors newbie
Sep 22, 2018
2
0
UK
Update:
Hey Guys, thought I would just let you know that the issue I had would be like unpicking several balls of yarn sitting in a box that had been shook for 1000 years - so I reformatted my mac and started again! What I have done this time is got my mac in the desired baseline and created a backup image to boot from the next time this happens... :/
 

ztbonmac

macrumors newbie
Oct 1, 2018
1
1
Made on account on here just to say this -

Thank you SO much Weaselboy. I was facing a similar issue. According to Storage Manager, my Documents folder was taking up ~70-90GB of space, despite there only being some eBooks and a few pictures in there. Likewise, my System "folder" was taking up much more space than usual (70-90GB as well, instead of around 50). Thanks to your guidance I was able to track the issue down. I'm in the cryptocurrency space, and I suppose I ended up running one of my desktop wallets as a Full Node (which requires I download the entirety of the blockchain) on accident. Those files have been deleted, and my storage space has been put in check again. Thank you!
 
  • Like
Reactions: Weaselboy

seanbmac

macrumors newbie
Oct 23, 2018
1
0
I agree this has been a very helpful thread. I have a similar issue (>500 GB of System) and have narrowed the problem down using previous advice. Now, I'm trying to figure out which "Data" folder I can safely delete. I'm currently in the process of a new TM backup. Please let me know if you have any thoughts.

Screen Shot 2018-10-23 at 9.37.11 AM.png
 

Thagenralry87

macrumors newbie
Nov 7, 2018
3
0
Hi all,

Having a simialr issue here... Please see below:
Screen Shot 2018-11-07 at 11.20.52 AM.png

Code:
Ran the code
sudo du -d 1 -x -c -g /

Got this...

0    /.HFS+ Private Directory Data
1    /home
1    /usr
du: /.Spotlight-V100: Operation not permitted
1    /net
0    /.PKInstallSandboxManager
0    /.PKInstallSandboxManager-SystemSoftware
1    /bin
1    /Incompatible Software
0    /Network
1    /sbin
du: /Library/Application Support/com.apple.TCC: Operation not permitted
10    /Library
0    /.Trashes
7    /System
1    /.fseventsd
5    /private
1    /.DocumentRevisions-V100
0    /.vol
du: /Users/RYartey/Library/Application Support/MobileSync: Operation not permitted
du: /Users/RYartey/Library/Application Support/CallHistoryTransactions: Operation not permitted
du: /Users/RYartey/Library/Application Support/com.apple.TCC: Operation not permitted
du: /Users/RYartey/Library/Application Support/CallHistoryDB: Operation not permitted
du: /Users/RYartey/Library/IdentityServices: Operation not permitted
du: /Users/RYartey/Library/Messages: Operation not permitted
du: /Users/RYartey/Library/HomeKit: Operation not permitted
du: /Users/RYartey/Library/Mail: Operation not permitted
du: /Users/RYartey/Library/Safari: Operation not permitted
du: /Users/RYartey/Library/Suggestions: Operation not permitted
du: /Users/RYartey/Library/Containers/com.apple.VoiceMemos: Operation not permitted
du: /Users/RYartey/Library/Containers/com.apple.Home: Operation not permitted
du: /Users/RYartey/Library/Containers/com.apple.Safari: Operation not permitted
du: /Users/RYartey/Library/Containers/com.apple.iChat: Operation not permitted
du: /Users/RYartey/Library/Containers/com.apple.mail: Operation not permitted
du: /Users/RYartey/Library/Containers/com.apple.news: Operation not permitted
du: /Users/RYartey/Library/Containers/com.apple.stocks: Operation not permitted
du: /Users/RYartey/Library/PersonalizationPortrait: Operation not permitted
du: /Users/RYartey/Library/Metadata/CoreSpotlight: Operation not permitted
du: /Users/RYartey/Library/Metadata/com.apple.IntelligentSuggestions: Operation not permitted
du: /Users/RYartey/Library/Cookies: Operation not permitted
du: /Users/RYartey/Library/Caches/com.apple.safaridavclient: Operation not permitted
du: /Users/RYartey/Library/Caches/com.apple.HomeKit.configurations: Operation not permitted
du: /Users/RYartey/Library/Caches/CloudKit/com.apple.Safari: Operation not permitted
du: /Users/RYartey/Library/Caches/com.apple.Safari: Operation not permitted
du: /Users/RYartey/Library/Caches/com.apple.Safari.SafeBrowsing: Operation not permitted
du: /Users/RYartey/Library/Caches/com.apple.homed: Operation not permitted
du: /Users/Heaven/Library/Application Support/CallHistoryTransactions: Operation not permitted
du: /Users/Heaven/Library/Application Support/com.apple.TCC: Operation not permitted
du: /Users/Heaven/Library/Application Support/CallHistoryDB: Operation not permitted
du: /Users/Heaven/Library/IdentityServices: Operation not permitted
du: /Users/Heaven/Library/Messages: Operation not permitted
du: /Users/Heaven/Library/Mail: Operation not permitted
du: /Users/Heaven/Library/Safari: Operation not permitted
du: /Users/Heaven/Library/Suggestions: Operation not permitted
du: /Users/Heaven/Library/Containers/com.apple.mail: Operation not permitted
du: /Users/Heaven/Library/Metadata/CoreSpotlight: Operation not permitted
du: /Users/Heaven/Library/Cookies: Operation not permitted
du: /Users/Heaven/Library/Caches/CloudKit/com.apple.Safari: Operation not permitted
du: /Users/Heaven/Library/Caches/com.apple.Safari: Operation not permitted
du: /Users/Heaven/Library/Caches/com.apple.Safari.SafeBrowsing: Operation not permitted
145    /Users
28    /Applications
1    /opt
1    /dev
1    /Volumes
0    /cores
193    /
193    total


Then ran for users and got this...

0    /Users/RYartey//.Tableau
98    /Users/RYartey//Music
0    /Users/RYartey//.QtWebEngineProcess
1    /Users/RYartey//.subversion
1    /Users/RYartey//Creative Cloud Files
10    /Users/RYartey//Pictures
1    /Users/RYartey//Desktop
du: /Users/RYartey//Library/Application Support/MobileSync: Operation not permitted
du: /Users/RYartey//Library/Application Support/CallHistoryTransactions: Operation not permitted
du: /Users/RYartey//Library/Application Support/com.apple.TCC: Operation not permitted
du: /Users/RYartey//Library/Application Support/CallHistoryDB: Operation not permitted
du: /Users/RYartey//Library/IdentityServices: Operation not permitted
du: /Users/RYartey//Library/Messages: Operation not permitted
du: /Users/RYartey//Library/HomeKit: Operation not permitted
du: /Users/RYartey//Library/Mail: Operation not permitted
du: /Users/RYartey//Library/Safari: Operation not permitted
du: /Users/RYartey//Library/Suggestions: Operation not permitted
du: /Users/RYartey//Library/Containers/com.apple.VoiceMemos: Operation not permitted
du: /Users/RYartey//Library/Containers/com.apple.Home: Operation not permitted
du: /Users/RYartey//Library/Containers/com.apple.Safari: Operation not permitted
du: /Users/RYartey//Library/Containers/com.apple.iChat: Operation not permitted
du: /Users/RYartey//Library/Containers/com.apple.mail: Operation not permitted
du: /Users/RYartey//Library/Containers/com.apple.news: Operation not permitted
du: /Users/RYartey//Library/Containers/com.apple.stocks: Operation not permitted
du: /Users/RYartey//Library/PersonalizationPortrait: Operation not permitted
du: /Users/RYartey//Library/Metadata/CoreSpotlight: Operation not permitted
du: /Users/RYartey//Library/Metadata/com.apple.IntelligentSuggestions: Operation not permitted
du: /Users/RYartey//Library/Cookies: Operation not permitted
du: /Users/RYartey//Library/Caches/com.apple.safaridavclient: Operation not permitted
du: /Users/RYartey//Library/Caches/com.apple.HomeKit.configurations: Operation not permitted
du: /Users/RYartey//Library/Caches/CloudKit/com.apple.Safari: Operation not permitted
du: /Users/RYartey//Library/Caches/com.apple.Safari: Operation not permitted
du: /Users/RYartey//Library/Caches/com.apple.Safari.SafeBrowsing: Operation not permitted
du: /Users/RYartey//Library/Caches/com.apple.homed: Operation not permitted
28    /Users/RYartey//Library
1    /Users/RYartey//.cups
1    /Users/RYartey//.bash_sessions
0    /Users/RYartey//.Nuance-OmniPage-CSDK-19.2
1    /Users/RYartey//Public
1    /Users/RYartey//.dropbox
4    /Users/RYartey//Movies
0    /Users/RYartey//Applications
1    /Users/RYartey//Dropbox
0    /Users/RYartey//.Trash
1    /Users/RYartey//Documents
4    /Users/RYartey//Downloads
143    /Users/RYartey/
143    total


Any thoughts?
 

Thagenralry87

macrumors newbie
Nov 7, 2018
3
0
I don't see anything that really looks off there. Do you have about 145GB of personal/user data?

Mac says i have about 9GB out of 250, and of that about 100GB are trapped in system storage.

Running the code says i have 145gb in User data, and of that user data 100 in music, but i doubt it. My itunes library should be in the cloud for the most part. Even if it were all on my desktop, i only have 55gb of music. Maybe im missing something?
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
34,471
16,181
California
Mac says i have about 9GB out of 250, and of that about 100GB are trapped in system storage.

Running the code says i have 145gb in User data, and of that user data 100 in music, but i doubt it. My itunes library should be in the cloud for the most part. Even if it were all on my desktop, i only have 55gb of music. Maybe im missing something?

Run this to see what is in the users folder.

Code:
sudo du -d 1 -x -c -g ~/
 

Thagenralry87

macrumors newbie
Nov 7, 2018
3
0
Run this to see what is in the users folder.

Code:
sudo du -d 1 -x -c -g ~/

Please see below:

Code:
0    /Users/RYartey//.Tableau
98    /Users/RYartey//Music
0    /Users/RYartey//.QtWebEngineProcess
1    /Users/RYartey//.subversion
1    /Users/RYartey//Creative Cloud Files
9    /Users/RYartey//Pictures
1    /Users/RYartey//Desktop
29    /Users/RYartey//Library
1    /Users/RYartey//.cups
1    /Users/RYartey//.bash_sessions
0    /Users/RYartey//.Nuance-OmniPage-CSDK-19.2
1    /Users/RYartey//Public
1    /Users/RYartey//.dropbox
4    /Users/RYartey//Movies
0    /Users/RYartey//Applications
1    /Users/RYartey//Dropbox
0    /Users/RYartey//.Trash
1    /Users/RYartey//Documents
4    /Users/RYartey//Downloads
143    /Users/RYartey/
143    total
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
34,471
16,181
California
Looks like 29GB in the user Library which is a little large. Drill down more with this.

Code:
sudo du -d 1 -x -c -g ~/Library
 

DMV04

macrumors newbie
Dec 26, 2018
6
0
Im having this issue as well, in Mojave. Do these commands work there? I'm getting a lot of Operation Not Permitted messages.

My System is taking up 115GB but when I try Calculating Folder Size and showing invisible files and folders I don't see anything even remotely adding up to that amount.

Any guidance is appreciated.
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
34,471
16,181
California
Im having this issue as well, in Mojave. Do these commands work there? I'm getting a lot of Operation Not Permitted messages.

My System is taking up 115GB but when I try Calculating Folder Size and showing invisible files and folders I don't see anything even remotely adding up to that amount.

Any guidance is appreciated.

Yes... this same command will work in Mojave.

Code:
sudo du -d 1 -x -c -g /
 

DMV04

macrumors newbie
Dec 26, 2018
6
0
These numbers aren't jiving with the System Information report which says:
251GB Total
16.33 Available
116GB System

Code:
Marinas-MacBook-Air:~ derek$ sudo du -d 1 -x -c -g /

Password:

0    /.HFS+ Private Directory Data

1    /home

1    /usr

du: /.Spotlight-V100: Operation not permitted

1    /net

0    /.PKInstallSandboxManager

0    /.PKInstallSandboxManager-SystemSoftware

1    /bin

1    /Incompatible Software

0    /Network

1    /sbin

du: /Library/Application Support/com.apple.TCC: Operation not permitted

7    /Library

0    /.Trashes

9    /System

1    /.fseventsd

du: /private/var/db/dslocal/nodes: Operation not permitted

du: /private/var/db/ConfigurationProfiles/Store: Operation not permitted

du: /private/var/folders/69/0jl5drn55397_9psmlg_lj100000gn/0/SafariFamily: Operation not permitted

du: /private/var/folders/69/0jl5drn55397_9psmlg_lj100000gn/0/com.apple.Safari/SafariFamily: Operation not permitted

du: /private/var/folders/69/0jl5drn55397_9psmlg_lj100000gn/0/com.apple.LaunchServices.dv: Operation not permitted

du: /private/var/folders/69/0jl5drn55397_9psmlg_lj100000gn/0/com.apple.nsurlsessiond: Operation not permitted

du: /private/var/folders/69/0jl5drn55397_9psmlg_lj100000gn/0/com.apple.routined: Operation not permitted

du: /private/var/folders/69/0jl5drn55397_9psmlg_lj100000gn/C/com.apple.QuickLook.thumbnailcache: Operation not permitted

du: /private/var/folders/7b/fwnlkwy13yv4q2lnyqxkgc2h0000gp/0/SafariFamily: Operation not permitted

du: /private/var/folders/7b/fwnlkwy13yv4q2lnyqxkgc2h0000gp/0/com.apple.Safari/SafariFamily: Operation not permitted

du: /private/var/folders/7b/fwnlkwy13yv4q2lnyqxkgc2h0000gp/0/com.apple.LaunchServices.dv: Operation not permitted

du: /private/var/folders/7b/fwnlkwy13yv4q2lnyqxkgc2h0000gp/0/com.apple.nsurlsessiond: Operation not permitted

du: /private/var/folders/7b/fwnlkwy13yv4q2lnyqxkgc2h0000gp/0/com.apple.routined: Operation not permitted

du: /private/var/folders/7b/fwnlkwy13yv4q2lnyqxkgc2h0000gp/C/com.apple.QuickLook.thumbnailcache: Operation not permitted

du: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/0: Operation not permitted

du: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/C: Operation not permitted

du: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/0/com.apple.nsurlsessiond: Operation not permitted

5    /private

1    /.DocumentRevisions-V100

0    /.vol

du: /Users/derek/Library/Application Support/MobileSync: Operation not permitted

du: /Users/derek/Library/Application Support/CallHistoryTransactions: Operation not permitted

du: /Users/derek/Library/Application Support/com.apple.TCC: Operation not permitted

du: /Users/derek/Library/Application Support/CallHistoryDB: Operation not permitted

du: /Users/derek/Library/IdentityServices: Operation not permitted

du: /Users/derek/Library/Messages: Operation not permitted

du: /Users/derek/Library/HomeKit: Operation not permitted

du: /Users/derek/Library/Mail: Operation not permitted

du: /Users/derek/Library/Safari: Operation not permitted

du: /Users/derek/Library/Suggestions: Operation not permitted

du: /Users/derek/Library/Containers/com.apple.VoiceMemos: Operation not permitted

du: /Users/derek/Library/Containers/com.apple.Home: Operation not permitted

du: /Users/derek/Library/Containers/com.apple.Safari: Operation not permitted

du: /Users/derek/Library/Containers/com.apple.iChat: Operation not permitted

du: /Users/derek/Library/Containers/com.apple.mail: Operation not permitted

du: /Users/derek/Library/Containers/com.apple.news: Operation not permitted

du: /Users/derek/Library/Containers/com.apple.stocks: Operation not permitted

du: /Users/derek/Library/PersonalizationPortrait: Operation not permitted

du: /Users/derek/Library/Metadata/CoreSpotlight: Operation not permitted

du: /Users/derek/Library/Metadata/com.apple.IntelligentSuggestions: Operation not permitted

du: /Users/derek/Library/Cookies: Operation not permitted

du: /Users/derek/Library/Caches/com.apple.HomeKit: Operation not permitted

du: /Users/derek/Library/Caches/com.apple.safaridavclient: Operation not permitted

du: /Users/derek/Library/Caches/com.apple.HomeKit.configurations: Operation not permitted

du: /Users/derek/Library/Caches/CloudKit/com.apple.Safari: Operation not permitted

du: /Users/derek/Library/Caches/com.apple.Safari: Operation not permitted

du: /Users/derek/Library/Caches/com.apple.Safari.SafeBrowsing: Operation not permitted

du: /Users/derek/Library/Caches/com.apple.homed: Operation not permitted

du: /Users/marinav/Library/Application Support/MobileSync: Operation not permitted

du: /Users/marinav/Library/Application Support/CallHistoryTransactions: Operation not permitted

du: /Users/marinav/Library/Application Support/com.apple.TCC: Operation not permitted

du: /Users/marinav/Library/Application Support/CallHistoryDB: Operation not permitted

du: /Users/marinav/Library/IdentityServices: Operation not permitted

du: /Users/marinav/Library/Messages: Operation not permitted

du: /Users/marinav/Library/HomeKit: Operation not permitted

du: /Users/marinav/Library/Mail: Operation not permitted

du: /Users/marinav/Library/Safari: Operation not permitted

du: /Users/marinav/Library/Suggestions: Operation not permitted

du: /Users/marinav/Library/Containers/com.apple.Safari: Operation not permitted

du: /Users/marinav/Library/Containers/com.apple.iChat: Operation not permitted

du: /Users/marinav/Library/Containers/com.apple.mail: Operation not permitted

du: /Users/marinav/Library/Containers/com.apple.stocks: Operation not permitted

du: /Users/marinav/Library/PersonalizationPortrait: Operation not permitted

du: /Users/marinav/Library/Metadata/CoreSpotlight: Operation not permitted

du: /Users/marinav/Library/Metadata/com.apple.IntelligentSuggestions: Operation not permitted

du: /Users/marinav/Library/Cookies: Operation not permitted

du: /Users/marinav/Library/Caches/com.apple.safaridavclient: Operation not permitted

du: /Users/marinav/Library/Caches/CloudKit/com.apple.Safari: Operation not permitted

du: /Users/marinav/Library/Caches/com.apple.Safari: Operation not permitted

du: /Users/marinav/Library/Caches/com.apple.Safari.SafeBrowsing: Operation not permitted

97    /Users

17    /Applications

1    /dev

0    /Volumes

0    /cores

134    /

134    total
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
34,471
16,181
California
Let's try two things...

First that storage readout gets data from the Spotlight index, and if that index is corrupt the readout will be all wrong. Try running this command in Terminal to reindex Spotlight. Give it a half hour os so to finish then see if the storage readout seems more accurate.

Code:
sudo mdutil -E /

Also, if you have Time Machine turned on it can create local snapshots that use space. Try running this command to delete the local snapshots and see if that helps.

Code:
tmutil  listlocalsnapshotdates / |grep 20|while read f; do tmutil deletelocalsnapshots $f; done
 

DMV04

macrumors newbie
Dec 26, 2018
6
0
I had done those before as I read through the thread. I did them again about an hour ago and there's no difference.
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
34,471
16,181
California
I had done those before as I read through the thread. I did them again about an hour ago and there's no difference.
Hmm... what does Disk Utility show?

Try a command-r boot to recovery and from there start Disk Utility and run first aid on the drive.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.