mkdir -p "~/Library/Application Support/Google/Chrome/Google Chrome Master Preferences" tee "~/Library/Application Support/Google/Chrome/Google Chrome Master Preferences/master_preferences" << EOF { "homepage": "http://www.apple.com", "homepage_is_newtabpage": false, "browser": { "show_home_button": true }, "session": { "restore_on_startup": 4, "startup_urls": [ "http://www.apple.com/ig" ] }, "bookmark_bar": { "show_on_all_tabs": true }, "sync_promo": { "show_on_first_run_allowed": false }, "distribution": { "import_bookmarks_from_file": "bookmarks.html", "import_bookmarks": true, "import_history": true, "import_home_page": true, "import_search_engine": true, "ping_delay": 60, "suppress_first_run_bubble": true, "do_not_create_desktop_shortcut": true, "do_not_create_quick_launch_shortcut": true, "do_not_launch_chrome": true, "do_not_register_for_update_launch": true, "make_chrome_default": true, "make_chrome_default_for_user": true, "suppress_first_run_default_browser_prompt": true, "system_level": true, "verbose_logging": true }, "first_run_tabs": [ "http://www.apple.com", "http://www.apple.com", "http://www.apple.com" ] } EOF