This seems to work as a temporary folder in Apple Script
path to temporary items
but
path to temporary items from user domain
is also recommended to use.
Which one is correct and safe to use? I am confused by the web references.
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.
Sign up to join this communityIf you don't want or need those temporary files to be available to all users, then definitely using "from user domain" is ideal. If you require the files to be available to all users, then you should use the plain "path to temporary items".
grep daily_clean_tmps_dirs /etc/defaults/periodic.conf
Feb 3, 2016 at 18:39