You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Anyone else suffering from /var/folders filling up the internal disk

I'm using "sips" to scale 1000s images and as my script runs I see /var/folders/.... get bigger and bigger until it (and the Mail app) crashes due to no space on my internal disk. I then have to reboot to clear var, which was 40 GB large at the time.


Not only does "sips" not clean up after itself but I should be able to use export TMPDIR, but "sips" ignores it and keeps writing to /var/folder/...


Has anyone tried creating a symbolic link from /var to an external drive?

iMac 21.5″, macOS 13.6

Posted on Nov 24, 2023 9:56 AM

Reply

Similar questions

2 replies

Nov 27, 2023 3:56 PM in response to colinpearse

Is the scale a constant across all images? For example, are all images scaling 50%? If so, try Automator instead of sips. I am guessing sips must need a temp location to process the image. With Automator, I never noticed it consuming temp space as it simply seems to overwrite the existing file.


Open Automator, create a new Application, and add a Scale Images tile. Set "By percentage" and enter the value. Save that and now you have a drag and drop applet. Grab your images and drop them on top of the app.


Test this on sample files before working on production files. As mentioned, this edits the existing files, it does not create a second copy.


Anyone else suffering from /var/folders filling up the internal disk

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.