|
|
#1 |
|
Delete Log and Other Unnecessary Files...
The title says it all...is there a way to safely identify and delete unnecessary log and other files and, if yes, then how...
Thanks in advance, Joel |
|
|
|
0
|
|
|
#2 |
|
Kind of an open question, but here you go....
There are application log files in your home directory that may or may not be pretty safe to clear out. Run the following command in terminal: Code:
find $HOME -type f -name *.log -exec du -sh {} \;
There are log files in /var/log, but I would leave those. My entire /var/log directory is only 65MB. In the end, I advise leaving log files alone unless you know what they are and their significance. But, if it's not a production machine, delete away. It's your funeral.
|
|
|
|
0
|
|
|
#3 | |
|
Quote:
|
||
|
|
0
|
|
|
#4 | |
|
Quote:
Freeing up drive space in Mac OS X |
||
|
|
0
|
|
|
#5 | |
|
Quote:
Joel |
||
|
|
0
|
|
|
#6 |
|
You might want to check out Cocktail. It's a great utility and has been around for years.
http://www.maintain.se/cocktail |
|
|
|
0
|
|
|
#7 |
|
It's a good idea to refrain from deleting items in the System and Library folders, unless you know exactly what you're doing. Most of those files are not unnecessary. Again, you're better off moving user data to an external drive.
|
|
|
|
1
|
|
|
#8 | |
|
Quote:
Warning received and appreciated... |
||
|
|
0
|
|
|
#9 |
|
And if your are worried about the SSD and having small files depreciating its life:
Normally modern SSDs have a theoretical write/read limit of 10,000 to 100,000 cycles (P/E cycles), meaning if you had a 64 GB SSD and its cycle limit would be 10,000, you would have to write 625 TB to it, which would be 351 GB per day everyday for the next five years. Assuming those numbers vary and it would only be a tenth of that, it would still mean 35 GB per day, which under normal usage no average computer consumer does, not even with temporary files.
__________________
This is not
|
|
|
|
0
|
|
|
#10 |
|
|
1
|
|
|
#11 |
|
Logs should not be deleted, unless there's a specific problem. You don't need to "maintain" your Mac and you don't need "cleaner" or "maintenance" apps to keep your Mac running well. Some of these apps can do more harm than good. Some can even degrade, rather than improve system performance.
Some remove files/folders or unused languages or architectures, which does nothing more than free up some drive space, with the risk of deleting something important in the process. These apps will not make your Mac run faster or more efficiently, since having stuff stored on a drive does not impact performance, unless you're running out of drive space. Some of these apps delete caches, which can hurt performance, rather than help it, since more system resources are used and performance suffers while each cache is being rebuilt. Caches exist to improve performance, so deleting them isn't advisable in most cases. Many of the tasks performed by these apps should only be done selectively to troubleshoot specific problems, not en masse as routine maintenance. Mac OS X does a good job of taking care of itself, without the need for 3rd party software. Among other things, it has its own maintenance scripts that run silently in the background on a daily, weekly and monthly basis, without user intervention. You can use Maintidget to see the last time these scripts were run. Five Mac maintenance myths |
|
|
|
1
|
|
|
#12 | ||
|
Quote:
---------- Thanks, much appreciated... ---------- Quote:
Appreciate the insight and the two links... I have reviewed the Maintidget webpage and detail and it looks as though the "daily taks" cover many of the items I am interested in...I will download it and give it a try... In terms of the others -- though you are not fans of them -- any preferences / suggestions among the 5 listed namely CCleaner, Cocktail, iBoostUp, iClean and Onyx... Worth also noting is that I am only interested in cleaning out logs and other like files and not applications as to do this I follow another one of the links you posted which essentially entails a Finder search inclusive of system files... WIth much thanks, Joel |
|||
|
|
0
|
|
|
#13 | ||
|
Quote:
Quote:
That's just it. You don't need to clean out logs, as they don't take much space and you will need them for troubleshooting purposes. You're not helping your Mac by deleting such files. It's better to just use your Mac to surf, check emails, create documents, listen to music, watch movies, etc. and leave the system maintenance up to OS X. |
|||
|
|
0
|
|
|
#14 | ||
|
Quote:
![]() ---------- Quote:
![]() I will continue cleaning logs as I cannot be sure what kind of personal/sensitive/secure data may be stored in them. |
|||
|
|
1
|
|
|
#15 |
|
You will if you need to troubleshoot a problem and need the logs you deleted.
That further illustrates why you shouldn't delete them. You don't even know what they contain or what they're used for. You shouldn't delete anything on your Mac unless you know what it's for and what the consequences of deletion are. There is no intelligent reason to "clean" logs on a regular basis. This is old Windows mentality that doesn't apply to OS X. |
|
|
|
0
|
|
|
#16 | |||
|
Quote:
Quote:
Quote:
|
||||
|
|
0
|
|
|
#17 | |
|
Quote:
So there are times such Apps are needed, as OS X does NOT take care of it on it's own. |
||
|
|
1
|
|
|
#18 | ||
|
Enough said...off the list...
Quote:
---------- Quote:
|
|||
|
|
0
|
|
|
#19 | |
|
Quote:
Of course, it's your Mac and you can do whatever you want with it, but it's not prudent to mislead others into thinking they need such apps. |
||
|
|
0
|
|
|
#20 | |
|
Quote:
I think some Apple engineers also use it. All Cocktail is is a GUI for the terminal scripts. Instead of typing "sudo- bla bla bla" you use the GUI. Here's your macupdate link. Sorry I don't use macupdate because I consider it "dodgy" :-) http://macupdate.com/app/mac/10909/cocktail |
||
|
|
1
|
|
|
#21 | |
|
Quote:
|
||
|
|
1
|
|
|
#22 |
|
If you're cleaning out "sensitive and private information", be sure to delete all your emails and user files. Cleaning logs isn't going to do the trick.
|
|
|
|
0
|
|
|
#23 | |
|
Quote:
|
||
|
|
1
|
|
|
#24 |
|
The the fact is that deleting logs on a Mac that you're still using is pointless. Any "sensitive" or "private" information that might be contained in them (which isn't the case for most logs) is not a problem if you still control the computer. Certainly if you're preparing to sell or give a computer to someone else, it makes sense to wipe the drive and clean install the OS, but not when you're still using it, and certainly not on a regular basis.
|
|
|
|
0
|
|
|
#25 | |
|
Quote:
You then indicate that it's not a problem if you still control the computer. What exactly do you mean by that? Please elaborate how I can control my Mac to not write any "sensitive" or "private" information to any log files. |
||
|
|
1
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -5. The time now is 06:45 AM.








Linear Mode
