Here is how to delete these files in Safari. How Do I Remove Temporary Internet Files on a Mac? How Do You Remove Cookies & Temp Files Without Losing Saved. The Mac OS will also remove many of the temp files whenever you shut down or restart your Mac. Even though the Mac OS tends to take care of cache and temp files, there are times when manual intervention may be appropriate.
Hey I have just ordered my first mac, after years of windows, I know that with windows it is good practice to defragment hard drives, and clean temp files to keep the computer in good shape. I am wondering what the process of doing things like this with a mac are? I know with windows there are lots of software packages to do this for you, including built in tools to windows. Can anyone point me in the direction of some information?
![Mac Mac](http://cdn.osxdaily.com/wp-content/uploads/2017/04/howto-clean-caches-temp-files-mac-610x377.jpg)
There may already be something up here, but i couldnt spot it. Incidentlly I ordered a 15.4' Macbook Pro, 2.2ghz, 2gb Ram, Glossy screen, and 160GB Hard Drive! Welcome to Mac.
You'll spend less time & money nursing & repairing your computer giving you more time & money to do what you want. Use Disk Utility (part of OS X) to 'repair permissions' on and 'verify' your drives (search forums and guides to see what these mean).
Although, the backup utility I use (Super Duper!) does a repair permissions anyway as part of it schedule, so that saves me a job. There are tools out there to defrag, clean-up temp files and do other maintainance tasks, but in 3 years of Mac ownership I've never felt the need to invest time or money in them (despite me being an obsessive defragger/cleaner-upper in my PC days). You should only need to go hunting for temp files when your hard drive gets full, and I use OmniDisk sweeper (free, essentially a disk pie-charter without the pie charts) and Spotlight to hunt-down the occasional space-wasting redundant file.
A basic knowledge of the comes is handy. I think the built-in Software Update defrags your hard drive for you when it installs an OS update.
Someone correct me if I'm wrong. Good luck SL. Don't run Onyx.
![Delete Delete](/uploads/1/2/5/4/125449435/204851746.jpg)
I know that's not the answer you were looking for. What were you hoping Onyx would do for your brand new MacBook anyway? But I know how old habits die hard for new switchers. For example, I have a friend who's had a Mac for a year, but still insists on rebooting a couple of times a day for no reason other than that's what he did with his PC. He thinks it keeps his Mac 'running well'.
But there's no need. Likewise, there's no need to hack about with 3rd party tools to optimise and customise your Mac. If you've got an actual problem, sure, fix it. Else, it's fine as it is. You don't really need to run any maintenance tasks on Mac OS X, because in 98% of cases it will do everything for you, the other 2% is when your computer is off every evening or it never gets the chance to run the tasks because you're doing something with the system. If you insist on running any maintenance tasks, you could run these commands in the Terminal: WARNING! The 'sudo rm -f' command is VERY dangerous, and can cause data loss if used incorrectly.
Please, PLEASE, ensure that you type the commands listed below correctly, double and even triple check, I will not be held responsible if you hose your system. 'User-level' tasks that do not require a restart: Run maintenance cron tasks. Click to expand.When their Mac does things that are unexpected, recent switchers often leap to the conclusion that they have a virus or some other malware. Understandable, perhaps, but it's unlikely to be the case. I've not heard of any malware for the Mac that does what you describe (or in fact, any actual malware at all bar two or three isolated observations posted on this forum). Perhaps you could give us a bit more detail.
Eg, are you using any 3rd party audio devices? Which sound output are you using? What Mac have you got? When it happens, does the big volume icon appear on the screen? Are you using the Apple remote? 'Temp files' isn't your problem.
You have a Mac, not a PC. Repairing disk permissions is a good idea to do every couple of weeks, but its not really related to your question. Windows doesnt really have an equivalent to this so I cant compare it, but its a good idea to just do it with OSX since permissions get messed up a lot as you install programs over time. Usually it doesnt actually help anything, but it can prevent major disasters and sometimes fixes weird problems with the OS or apps. Youll want to use appzapper if you want to get rid of a big program that doesnt come with an uninstaller (like the iLife stuff). That can free up a lot of space. You can delete your internet cache using the menu option in safari.
Or just straight up 'reset' safari to its factory defaults. You dont have to defrag your drive, the HFS+ file system doesnt need it. When their Mac does things that are unexpected, recent switchers often leap to the conclusion that they have a virus or some other malware. Understandable, perhaps, but it's unlikely to be the case.
I've not heard of any malware for the Mac that does what you describe (or in fact, any actual malware at all bar two or three isolated observations posted on this forum). Perhaps you could give us a bit more detail. Eg, are you using any 3rd party audio devices?
Which sound output are you using? What Mac have you got? When it happens, does the big volume icon appear on the screen?
Are you using the Apple remote? 'Temp files' isn't your problem. You have a Mac, not a PC. Don't give third-party apps the keys to your system (admin password) Just run the scripts that iCeFusion supplied above. Of those only the 'periodic' ones should be considered maintenance. All others go under troubleshooting and don't really need to be done regularly - although I personally do repair permissions on a 1-2 weekly basis. Updating prebindings is only necessary when you're experiencing documents being opened by the wrong apps.
Remember to reboot straightaway if you flush system caches - this is important. I'll reinforce iCeFusion's statement about being REALLY careful about what you type into the terminal typos are not really a good idea - especially when using the sudo (superuser) command as you are effectively telling the system that you are god and allowed to do anything including the removal of critical system files (rm command). There is no trashcan in the Terminal.
We've got two ways to do it: the manual way and the way. How to Clear Log Files on a Mac Manually. Open Finder and select 'Go to Folder' in the Go menu. Type in /Library/Logs and hit Enter to proceed to this folder (pay attention to the use of “” — this will ensure that you’re cleaning user log files, not the system log files). Optional step: You can highlight & copy everything to a different folder in case anything goes wrong. Select all files and press Command+backspace. Restart your Mac.
Note: We recommend that you remove the insides of these folders, but not the folders themselves. Also note that some system applications, like Mail, have their own logs stored elsewhere. Remember, if you want the additional space from cleaning these log files, be sure to empty your Trash. To do this, Control+click on the Trash icon in the dock and select “Empty Trash.” In addition, some log files can be found in the /var/log folder, but not all the items contained therein are safe to remove. That’s why it is safer to remove log files using a Mac cleaning utility like How to Clear Log Files with CleanMyMac X Rather than searching all over your Mac for log files yourself, you can clean up logs with CleanMyMac X in just 4 steps.
And that’s not all it does! Anyway, to clean them up with CleanMyMac X:. and launch it. Choose System Junk in the left menu. Click Scan at the bottom of CleanMyMac X. If you’d like to remove only log files and nothing else, click on Review Details before clicking Clean. Deselect everything except for System Log Files and User Log Files, and then click Clean.
Make sure that once you have finished clearing out these logs for additional hard drive space, you empty out your Trash. To do this, Control-click on the Trash icon in the dock and select “Empty Trash.” Restart your Mac afterward so your Mac can begin to create new log files. Cleaning up log files with is as easy as can be. And, like we said before, it can do so much more, too! With CleanMyMac X, you can clean up outdated apps, language packs, universal binaries, and gigabytes of useless junk you didn’t even know you had.
And feel what it’s like to have a faster, cleaner Mac. These might also interest you:.