While debugging , I created some files in SpecialFolder.Temporary but I wanted to see where they went
I found the path was
Macintosh HD:private:var:folders:_w:q35jmt9n7hl5jw93vxj8qv3h0000gn:T:TemporaryItems:
Thats fine.
But I notice that there are thousands of files in this vicinity, some are 10 years old or more.
Is there anything that will remove these old temp files safely?
eg something like CleanMyMac but with a good reputation?
or is it just a case of ‘select all’ and drag to the trash?
I note that some sub folders contain ‘delete at startup’ folders , which sounds like a great idea except that many of THOSE arent empty, so something isnt doing what it says on the tin…
“Storage Management”
Interesting…
Cleared quite a bit of stuff, although it offers to remove Garageband sound library of 3.51 Gb but doesnt succeed.
Strangely no option for temp files though.
It’s not really a user serviceable directory, which is why it’s not easy to get to.
If you are going to trash the contents, I would recommend right before a shutdown or restart to avoid causing issues with currently running applications.
[quote=324136:@Jeff Tullin]I found the path was
Macintosh HD:private:var:folders:_w:q35jmt9n7hl5jw93vxj8qv3h0000gn:T:TemporaryItems:[/quote]
I just checked on my machine. I looked into specialfolder.temporary. There are three folders, and one file none ancient (a folder contains Xojo scratch files from today).
Something must have happened on your machine that did not timely dispose of the file it was supposed to delete at restart.
I would simply drag them to the trash and see what happens. It is possible some files be busy, but then they will simply not delete right away, but after restart.