Every few months I have moved data out of my mac computer onto a hard drive because of this problem. I now again have this alert in the Terminal: Your disk space is critically low. Older terminal scrollback contents may be automatically discarded to conserve VM backing store.:
And this one on the desktop: Your disk is almost full. Save space by optimising storage:
I click on Manage and see that system storage is taking 80 GB on a 128 GB SSD drive:
I cleared more files yesterday and had 6 GB of storage free. A few hours later, free space went down to 3 GB, all taken by system storage. I will soon have nothing left on the computer but system storage, and then have to reinstall it and go back to the more normal 10 GB.
I have run this command to find files larger than 1 GB; it shows only the Spotlight file with 4 GB.
$ sudo find /Volumes/Macintosh\ HD/ -size +1G 2>/dev/null
Password:
/Volumes/Macintosh HD//.Spotlight-V100/Store-V2/CA9AE856-FB94-4765-9028-38E04BEC9683/0.indexArrays
What Terminal commands could I run to identify the source of this runaway system storage and to clear it?
Note: Similar to the unanswered System storage keeps on increasing , except that I provided more textual details on the alert and that I am looking first to identify the issue with a Terminal command.



https://apple.stackexchange.com/questions/5353/how-can-i-figure-out-whats-slowly-eating-my-hd-space/5360#5360
But in response to your note:
"except that I provided more textual details on the alert"
Thank you for asking a question with all the information!
"looking first to identify the issue with a Terminal command."
If someone has a way to find such info via command line, like using
– anki Sep 11 '20 at 05:49duorwcorstat, that also belongs to the question above.