Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Editing the com.apple.internetconfig.plist file via CLI



Title: Re: Editing the com.apple.internetconfig.plist file via CLI
From the man pages of the default command;
write domain 'plist'
              Overwrites the defaults information in domain with that given as
              plist.  plist must be a property list representation of a dictionary,
              and must be enclosed in single quotes.  For example:

                    defaults write com.companyname.appname '{ "Default Color" = (255, 0, 0);
                                                    "Default Font" = Helvetica; }';

              erases any previous defaults for com.companyname.appname and
              writes the values for the two names into the defaults system.



The {} as far as I know just indicate enclosing statement/nest, the ; indicates new line and “” indicates a null value (or an attempt to a null value).


On 4/2/05 12:23 PM, "John" <email@hidden> wrote:

> So what exactly does the "{", ";" and the "" mean? What do these  
> characters instruct? Are the brackets functioning as priority for the  
> statement as you might do with parenthesis to enclose an argument to  
> get it to run first?
>
> On Mar 31, 2005, at 1:09 PM, Brett Decarion wrote:
>
>> Correction: the line should read
>>
>>  defaults write com.apple.internetconfig "Version 2.5.4" =  {  
>> "ic-added" = { DownloadFolder = {"ic-data" = ""; }; }; }; };
>>
>>  On 3/31/05 4:06 PM, "Brett Decarion" <email@hidden> wrote:
>>
>>
>> --snip--
>>   working.  I've been trying the following just from command line:
>>  defaults write com.apple.internetconfig "Version 2.5.3" =  {  
>> "ic-added" = { DownloadFolder = {"ic-data" = ""; }; }; }; };
>>  --snip--
>>
>>
>>
>> --
>>  Brett DeCarion
>>  Office of Information Technology
>>  SunGard Collegis/Delta College
>>  1961 Delta Rd.
>>  University Center, MI 48710
>>  (989)686-9536
>>    _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Client-management mailing list      (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/client-management/
>> email@hidden
>>
>> This email sent to email@hidden

--
Brett DeCarion
Office of Information Technology
SunGard Collegis/Delta College
1961 Delta Rd.
University Center, MI 48710
(989)686-9536
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Client-management mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/client-management/email@hidden

This email sent to email@hidden

References: 
 >Re: Editing the com.apple.internetconfig.plist file via CLI (From: John <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.