Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Where are the temporary internet files located?

I'm using Dantz's Retrospect for backing up multiple macs of varying ages on my network. I would like to know where are the temporary internet files located in Mac OS X?

With OS 9 I was able to exclude them in the backup by excluding folders with the words "cache" or "temporary" in them. But I still seem to be backing up large amounts of temp files. Little used machines are still backing up hundreds of MB's each backup! After I paused it, I did a search for one of the filenames that I saw it was backing up. But the file was not found, so I guess that folder doesn't get indexed.


Thanks.

Message was edited by: gadget_girl1

Mac Mini, Mac OS X (10.5.6)

Posted on Mar 26, 2009 8:53 AM

Reply
Question marked as Best reply

Posted on Mar 26, 2009 9:27 AM

That depends on exactly what you mean and what browser you use. When you say temporary files, do you also mean metadata and cookies for example?
If you are using for example Omniweb as opposed to Safari, you'll find they ue different files that are stored in your home folder.

To narrow things down for you though. They are most likely be stored in either;
~/Library/Application Support/.........(Omniweb for example stores some stuff here).
~/Library/Caches.........(Quicktime for example stores some stuff here).
~/Library/Cookies/...........(Safari for example stores some stuff here).
~/Library/Preferences/............(Some MS Apps store stuff here).
~/Library/Safari/............(again, Safari stores some stuff here).

There are also hidden folders in the /var/folders or /var/tmp directories amongst other places I think. You might not want to mess around with these though.
I've stopped looking for em now. There seem to be so many tracks to cover.
Oh-how did you do your searches, just because items don't show up, doesn't always mean they don't exist.

Message was edited by: gumsie
13 replies
Question marked as Best reply

Mar 26, 2009 9:27 AM in response to gadget_girl1

That depends on exactly what you mean and what browser you use. When you say temporary files, do you also mean metadata and cookies for example?
If you are using for example Omniweb as opposed to Safari, you'll find they ue different files that are stored in your home folder.

To narrow things down for you though. They are most likely be stored in either;
~/Library/Application Support/.........(Omniweb for example stores some stuff here).
~/Library/Caches.........(Quicktime for example stores some stuff here).
~/Library/Cookies/...........(Safari for example stores some stuff here).
~/Library/Preferences/............(Some MS Apps store stuff here).
~/Library/Safari/............(again, Safari stores some stuff here).

There are also hidden folders in the /var/folders or /var/tmp directories amongst other places I think. You might not want to mess around with these though.
I've stopped looking for em now. There seem to be so many tracks to cover.
Oh-how did you do your searches, just because items don't show up, doesn't always mean they don't exist.

Message was edited by: gumsie

Mar 26, 2009 10:16 AM in response to gumsie

I especially mean the tons of images that are saved any time you visit a website. But other large files would be good too. I primarily use Firefox & Safari.

I did look in some of the library folders & they didn't have too many things.

I do think that the locations could be hidden, since my backup program found them, but a search wouldn't. I just used the search in the finder & then spotlight to search for the file, but maybe these temporary folders get excluded from the indexing for these searches?

I'm not planning on deleting these files, just excluding them from the backup. But I don't want to have to manually clear the cache everytime my computer is about to run an automated backup.

Thanks, I'll check the var directories.

Mar 26, 2009 11:33 AM in response to gadget_girl1

To get to /var;
↑⌘G, then type /var

To unhide hidden files;
Hold on. The command I usually use doesn't seem to work for this one gimme a mo...........

I've used this;defaults write com.apple.finder AppleShowAllFiles TRUE
before but it doesn't seem to work at the mo, so I have [Cocktail|http://www.maintain.se] that does it for me. [Onyx|http://www.titanium.free.fr/pgs2/english/download.html], free, also does it.

Message was edited by: gumsie

Oh and you might find [this|http://www.westwind.com/reference/OS-X/invisibles.html] guide useful.

Right, found the problem. You need this line instead;
defaults write com.apple.finder AppleShowAllFiles -bool TRUE

Mar 26, 2009 1:05 PM in response to gadget_girl1

Open a terminal and enter
cd /var
It is best not to unhide hidden files. If you do, be sure your backup is up to date. Tampering with the OS is only recommended for real experts.

To see hidden files simply use the terminal command
ls -al
and there they are

Or in a finder, use the Action Gear and select "Show hidden files"

However, if you are simply looking for the Safari cache, it's in
~/LIbrary/Caches/Safari (or FireFox)
They are not hidden files.

Message was edited by: nerowolfe

Mar 26, 2009 6:12 PM in response to gumsie

gumsie wrote:
nerowolfe wrote:
Or in a finder, use the Action Gear and select "Show hidden files"


Hey, Nerowolfe, I don't get that option. I see the action gear at the top of my finder window but no such option exists. How is it that you have it?


It's a bit tricky the first time.
When you enter a search term and click the Action Gear, under the Kind dropdown button, select "Other" and you will see a lengthly checklist labeled "Select a search attribute:"
Click any and every possible attribute you might ever need and they will then appear next time you select Kind.

Where are the temporary internet files located?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.