title: How To remove an item from Login Items using shell script
body: <p>In Mac, 
  I want to remove an application from the login items using Shell script.</p>
  
  <p>I tried following code, but didn't work..</p>
  
  <pre><code>   defaults write loginwindow  AutoLaunchedApplicationDictionary -array-remove path "/Applications/myApp.app"
  </code></pre>
  
  <p>But it is giving error "Unexpected argument -path; leaving defaults unchanged"</p>
  
  <p>Regards,
  Dhanaraj</p>