Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

2 Answers 2

up vote 19 down vote accepted

You can use: echo $TMPDIR.

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

Sources:

share|improve this answer

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.