Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Add login items via the command line' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Add login items via the command line
Authored by: ClassicUser on Mar 22, '05 01:13:18PM
According to the man page you can delete with the defaults command: defaults [currentHost | -host hostname] delete [domain [key]]
Yes, but it's extremely difficult to remove a single item from a DICT or ARRAY entry within that .plist - essentially, it's an "all or nothing" proposition.

Adding to such an array with "defaults write {domain} {key} -array-add {value list}" is fairly straightforward - but don't expect to be able to remove a given item the same way.

[ Reply to This | # ]