{"id":570,"date":"2015-12-11T14:01:31","date_gmt":"2015-12-11T03:01:31","guid":{"rendered":"https:\/\/4it.com.au\/kb\/?post_type=article&#038;p=570"},"modified":"2015-12-11T14:04:17","modified_gmt":"2015-12-11T03:04:17","slug":"how-to-delete-log-files-on-a-mac-osx","status":"publish","type":"article","link":"https:\/\/4it.com.au\/kb\/article\/how-to-delete-log-files-on-a-mac-osx\/","title":{"rendered":"How To Delete Log Files on a Mac OSX"},"content":{"rendered":"<p><strong><em>Deleting Log Files on a Mac<\/em><\/strong> &#8211; Just like their windows counterparts, Mac&#8217;s also store system log files. \u00a0Over time these log files can grow in size and take a good portion of your hard drive in the process. \u00a0If you&#8217;re running low on space and need to free some up there is a command which you can run which will run maintenance and\u00a0clean up the log files for you.<\/p>\n<p>The script which we are about to perform\u00a0used to be run at set intervals in older versions of OSX however in more recent versions such as Yosemite and El Capitan the script will run when it thinks it is the best time to run. \u00a0For example, when the system isn&#8217;t in use but not sleeping.<\/p>\n<p>Here are the steps to run the maintenance scripts manually and clean up the log files.<\/p>\n<p><a href=\"https:\/\/4it.com.au\/kb\/wp-content\/uploads\/2015\/12\/Manually-Delete-Log-Files-Mac-1.png\" rel=\"attachment wp-att-572\"><img class=\"alignnone size-full wp-image-572\" data-original=\"https:\/\/4it.com.au\/kb\/wp-content\/uploads\/2015\/12\/Manually-Delete-Log-Files-Mac-1.png\" alt=\"Manually-Delete-Log-Files-Mac\" width=\"568\" height=\"97\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h2>Step 1.\u00a0Open a Terminal Window<\/h2>\n<p>Click on the Launchpad<\/p>\n<p>Type in terminal<\/p>\n<p>Hit Enter<\/p>\n<h2>Step 2. Enter the following command<\/h2>\n<p>Type the following in:<\/p>\n<p><code>sudo periodic daily weekly monthly<\/code><\/p>\n<p>and hit enter<\/p>\n<h2>Step 3. Enter your password<\/h2>\n<p>Enter your password<\/p>\n<p>Note, you will need to be signed in as an Administrator to run the maintenance scripts manually.<\/p>\n<p>It&#8217;s not that hard to do however if you don&#8217;t feel comfortable in deleting files manually you can always download a program such as <a href=\"https:\/\/4it.com.au\/kb\/go\/maccleaner\/\" target=\"_blank\">Clean My Mac<\/a> to do this for you.<\/p>\n<div style='text-align:left' class='yasr-auto-insert-visitor'><\/div>","protected":false},"excerpt":{"rendered":"<p>Deleting Log Files on a Mac &#8211; Just like their windows counterparts, Mac&#8217;s also store system log files. \u00a0Over time these log files can grow in size and take a good portion of your hard drive in the process. \u00a0If you&#8217;re running low on space and need to free some up there is a command [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","article-category":[25],"article-tag":[460,459],"class_list":["post-570","article","type-article","status-publish","format-standard","hentry","article-category-apple-mac","article-tag-clean-mac-osx-log-files","article-tag-delete-log-files-on-mac"],"yasr_visitor_votes":{"stars_attributes":{"read_only":false,"span_bottom":false},"number_of_votes":2,"sum_votes":8},"_links":{"self":[{"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/article\/570","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/types\/article"}],"author":[{"embeddable":true,"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/comments?post=570"}],"version-history":[{"count":0,"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/article\/570\/revisions"}],"wp:attachment":[{"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/media?parent=570"}],"wp:term":[{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/article-category?post=570"},{"taxonomy":"article-tag","embeddable":true,"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/article-tag?post=570"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}