Where is the Temp folder in OS X?
Solution 1:
You can use: echo $TMPDIR
.
To open and browse the folder, use open $TMPDIR
.
Sources:
- How do I find out the system temporary directory?
- OSX: API for retrieving path to user's ~/temp folder
Solution 2:
/tmp
is also a temporary directory. Files are deleted from /tmp
upon reboot.
To access it from Finder, use Command-G (Shift-Command-G in Mavericks) and enter /tmp
in the dialogue box. From a terminal, just cd /tmp
.