{"id":31932,"date":"2021-03-19T17:01:29","date_gmt":"2021-03-19T21:01:29","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=31932"},"modified":"2021-03-19T17:02:21","modified_gmt":"2021-03-19T21:02:21","slug":"setting-macos-defaults-via-script","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2021\/03\/19\/setting-macos-defaults-via-script\/","title":{"rendered":"Setting macOS Defaults via Script"},"content":{"rendered":"<p><a href=\"https:\/\/news.ycombinator.com\/item?id=26513528\">Hacker News<\/a> is calling this <a href=\"https:\/\/github.com\/mathiasbynens\/dotfiles\/blob\/master\/.macos\">Bash script<\/a> by Mathias Bynens &ldquo;Sensible macOS Defaults.&rdquo; I don&rsquo;t agree that these are necessarily the particular settings anyone should use, but I endorse the idea of collecting the preferences that one frequently modifies (system and otherwise) into a script. This one has some good examples of how that can be done and also illustrates some settings that are <a href=\"https:\/\/mjtsai.com\/blog\/tag\/esoteric-preferences\/\">hidden<\/a>.<\/p>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2019\/08\/15\/global-mac-defaults-and-hidden-preferences\/\">Global Mac Defaults and Hidden Preferences<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Hacker News is calling this Bash script by Mathias Bynens &ldquo;Sensible macOS Defaults.&rdquo; I don&rsquo;t agree that these are necessarily the particular settings anyone should use, but I endorse the idea of collecting the preferences that one frequently modifies (system and otherwise) into a script. This one has some good examples of how that can [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2021-03-19T21:01:32Z","apple_news_api_id":"31786cb3-38e2-41de-b63d-30e5f42a532f","apple_news_api_modified_at":"2021-03-19T21:02:24Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAQ==","apple_news_api_share_url":"https:\/\/apple.news\/AMXhsszjiQd62PTDl9CpTLw","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[767,649,30,1891],"class_list":["post-31932","post","type-post","status-publish","format-standard","hentry","category-technology","tag-bash","tag-esoteric-preferences","tag-mac","tag-macos-11-0"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/31932","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=31932"}],"version-history":[{"count":3,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/31932\/revisions"}],"predecessor-version":[{"id":31937,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/31932\/revisions\/31937"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=31932"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=31932"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=31932"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}