Where is the Temp folder in OS X?

69

14

I am working on a project that stores output files in the Temp folder. In Windows I can search the Temp folder but I don't know the location of Temp folder in OS X.

Can you please guide me to the location of said folder?

Lucifer

Posted 2013-04-11T10:50:55.727

Reputation: 1 377

Answers

90

You can use: echo $TMPDIR.

To open and browse the folder, use open $TMPDIR.

Sources:

Hennes

Posted 2013-04-11T10:50:55.727

Reputation: 60 739

42

/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.

Nevin Williams

Posted 2013-04-11T10:50:55.727

Reputation: 3 725