Safari Private browsing terminal command?

Discussion in 'Mac Basics and Help' started by Wateroksnmud, Jul 1, 2009.

  1. Wateroksnmud macrumors regular

    Feb 21, 2008
    Hey guys, I'm trying to create an automator that will open safari, enable private browsing, go to my site, and log myself in. The problem is I need a terminal command line that will ensure private browsing is enabled. Any tips / help is appreciated. Thanks
  2. angelwatt Moderator emeritus


    Aug 16, 2005
    It would probably have to edit the plist file for Safari. I'm not at my Mac to give this a try though. Here's an example of what it might look like. Try looking through your plist file for Safari to see if you can see what name it uses.

    defaults write ~/Library/Preferences/ PrivateBrowsing true

Share This Page