info("cachefolder")

The info(“cachefolder”) function returns the path to the current user’s Cache folder (in the Library folder).


Description

This function returns the path to the current user’s Cache folder (in the Library folder). Files in this folder are not backed up by Time Machine, so this is a good place to store large files that can be regenerated easily after a disk failure. An alternative if you only need to use the file for a short time is info(“tempfolder”) (files stored in the temporary folder are automatically deleted after 3 days if you don’t delete them yourself first).

Note: This function allows language independent access to the Cache folder, and will correctly locate the folder even if you are using a non-English system.


See Also


History

VersionStatusNotes
10.0NewNew in this version.