You have some app that is crashing and dumping the troubleshooting data in that folder. Other than just trial and error testing by watching the folder when you launch apps, I don't know a good way to tell what app is doing this.
After upgrading to High Sierra the "System" storage was 260GB (About This Mac -> Storage). I also used DaisyDisk to confirm that there were "200GB of hidden system files" that can't be shown or deleted.
Turned to our good friend Google and I found that Time Machine local backups were the reason and 'sudo tmutil disablelocal' command was supposed to help, if only "disablelocal" verb had not been removed from High Sierra. So back to square one.
Did some digging a.k.a. opened the manual for tmutil. I found that there were two useful verbs "listlocalsnapshots" and "deletelocalsnapshots". Used the first one to get the exact date stamps required for the second one and deleted all local snapshots manually.
Result: "System" went from 260GB to 60GB.
Step by step I went as following:
This resulted:Code:sudo tmutil listlocalsnapshots /
I took these four date stamps and followed the next command with each as following:Code:com.apple.TimeMachine.2017-09-27-005259 com.apple.TimeMachine.2017-09-27-104645 com.apple.TimeMachine.2017-09-27-114218 com.apple.TimeMachine.2017-09-27-124220
Code:tmutil deletelocalsnapshots 2017-09-27-005259
So in the end if i double checked with
there were no snapshots and after checking "About This Mac -> Storage" I was happyCode:sudo tmutil listlocalsnapshots /
Hope this helps!
After upgrading to High Sierra the "System" storage was 260GB (About This Mac -> Storage). I also used DaisyDisk to confirm that there were "200GB of hidden system files" that can't be shown or deleted.
Turned to our good friend Google and I found that Time Machine local backups were the reason and 'sudo tmutil disablelocal' command was supposed to help, if only "disablelocal" verb had not been removed from High Sierra. So back to square one.
Did some digging a.k.a. opened the manual for tmutil. I found that there were two useful verbs "listlocalsnapshots" and "deletelocalsnapshots". Used the first one to get the exact date stamps required for the second one and deleted all local snapshots manually.
Result: "System" went from 260GB to 60GB.
Step by step I went as following:
This resulted:Code:sudo tmutil listlocalsnapshots /
I took these four date stamps and followed the next command with each as following:Code:com.apple.TimeMachine.2017-09-27-005259 com.apple.TimeMachine.2017-09-27-104645 com.apple.TimeMachine.2017-09-27-114218 com.apple.TimeMachine.2017-09-27-124220
Code:tmutil deletelocalsnapshots 2017-09-27-005259
So in the end if i double checked with
there were no snapshots and after checking "About This Mac -> Storage" I was happyCode:sudo tmutil listlocalsnapshots /
Hope this helps!
I tried this but neither running the script nor rebooting and letting it run as a login item removes the local snapshots. What am I doing wrong? To make the file executable i enteredIt does help! If you care to script this to run automatically at login:
Create a new file, such as 'delete-local-tm.sh' and make it executable with 'chmod +x'
Inside of the file, paste this:
#!/bin/bash
tmutil deletelocalsnapshots $(tmutil listlocalsnapshots / | sed 's/com.apple.TimeMachine.//g')
Save the file, I used nano editor so Ctrl-X
Then in Preferences / Users, under your account, click Login items and add the script above.
Are you sure you are on macOS High Sierra and you have Time Machine turned on?Hi, somehow the method of deleting local snapshots does not work for me. Here's what I get:
Can someone help me with this? Appreciated
Are you sure you are on macOS High Sierra and you have Time Machine turned on?
Last login: Sun Apr 22 07:47:36 on ttys000
Donnies-MBP:~ Donnie$ sudo du -d 1 -x -c -g /
Password:
0 /.HFS+ Private Directory Data
1 /home
1 /usr
1 /.Spotlight-V100
1 /net
0 /.PKInstallSandboxManager
0 /.PKInstallSandboxManager-SystemSoftware
1 /bin
0 /DamagedFiles
0 /Network
1 /sbin
32 /Library
0 /.Trashes
8 /System
1 /.fseventsd
du: /private/var/db/ConfigurationProfiles/Store: Operation not permitted
du: /private/var/folders/dr/k8th41qn6r18519qx98c2mc80000gn/0/SafariFamily: Operation not permitted
du: /private/var/folders/dr/k8th41qn6r18519qx98c2mc80000gn/0/com.apple.LaunchServices.dv: Operation not permitted
du: /private/var/folders/dr/k8th41qn6r18519qx98c2mc80000gn/0/com.apple.nsurlsessiond: Operation not permitted
du: /private/var/folders/dr/k8th41qn6r18519qx98c2mc80000gn/0/com.apple.routined: Operation not permitted
du: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/0/com.apple.nsurlsessiond: Operation not permitted
6 /private
1 /.DocumentRevisions-V100
0 /.vol
218 /Users
28 /Applications
1 /dev
1 /Volumes
0 /cores
291 /
291 total
Donnies-MBP:~ Donnie$ sudo du -d 1 -x -c -g ~/
1 /Users/Donnie//.config
61 /Users/Donnie//Music
1 /Users/Donnie//Conduit
1 /Users/Donnie//.adobe
1 /Users/Donnie//.local
7 /Users/Donnie//Pictures
54 /Users/Donnie//Desktop
15 /Users/Donnie//Library
1 /Users/Donnie//.oracle_jre_usage
1 /Users/Donnie//LuxVisDropbox
1 /Users/Donnie//.android
1 /Users/Donnie//.cups
1 /Users/Donnie//.bash_sessions
1 /Users/Donnie//Public
1 /Users/Donnie//.dropbox
1 /Users/Donnie//Wine Files
1 /Users/Donnie//.cisco
2 /Users/Donnie//Movies
1 /Users/Donnie//Applications
0 /Users/Donnie//.xbmc
1 /Users/Donnie//Dropbox
0 /Users/Donnie//.Trash
1 /Users/Donnie//Splice
4 /Users/Donnie//Documents
12 /Users/Donnie//Downloads
0 /Users/Donnie//.cache
152 /Users/Donnie/
152 total
Donnies-MBP:~ Donnie$
The only thing I see there that looks odd is you have 54GB of files on your Desktop. Does that sound correct?Hi There, I came across your conversations on here after having 192gb of system files on my mac running High Sierra. iv tried running time machine snapshot codes but having nothing come up im guessing the issue isnt time machine backups. i ran the code that you gave to someone else on this thread and heres what i got
So it sounds like the total space used is about correct then? So the only issue is it showing System wrong?I do have quite a lot of stuff on my desktop but I bought 200gb on iCloud Drive and thought it had transferred everything to that as it freed up more memory when I got iCloud Drive, as it freed it up the system files section actually got bigger, started off around 120gb of system files. No idea what’s going on. :-/
sudo mdutil -E /
Much of the discussion here was helpful to me in recovering about 200+GB of space in two Mac systems. In my case it was old files left over from a cloud storage service I had stopped using over a year ago. The recommendation of using DaisyDisk really helped in my case as I had tried all the Apple recommendations and also removed anything related to TimeMachine. I also found some really large Draft.mbox files in Gmail accounts that apparently had been growing over the years. Point being is that you need to be a bit creative sometimes in looking at this issue.So it sounds like the total space used is about correct then? So the only issue is it showing System wrong?
If that is the case, run the command below in Terminal to reindex Spotlight and give it some time to complete. That space used readout gets data from the Spotlight index and if that index is corrupt, the readout will be wrong.
Code:sudo mdutil -E /
Which begs the question of whether there is some sort of terminal command that can "adjust" the percentage of what is stored locally when using iCloud Drive versus what is migrated?
I am not affiliated with the author of this software in any way.
I today bought Marcel Bresink's "TinkerTool System" and amongst a lot of other things, it can create, list and delete local snapshots without the need to wrestle with the command line. exactly what I was looking for.
View attachment 744102
Please explain how you do this in tinker tools as I could not find this option.