defaults command line tool and multiple plists
defaults command line tool and multiple plists
- Subject: defaults command line tool and multiple plists
- From: mwalker <email@hidden>
- Date: Thu, 25 Sep 2003 10:22:01 -0600
Hi, all.
We've got a collection of applications (both Cocoa and Carbon) and
command-line tools and daemons (ditto) that create several preference
files in /Library/Preferences. We use the standard
"com.companyname.toolappname.plist" naming convention for the files,
because we're using CFPreferences and NSUserDefaults.
What we would like to do is, as part of an install perhaps, is
manipulate these files from the command line. I was ready to write a
custom tool for this, but then I remembered the "defaults" tool, which
seemed perfect. However, when I type "defaults domains", I only see the
name of the first preferences file (of ours) in the list,
"com.companyname.startswithA.plist". Is this a restriction of defaults?
Should I just say "to heck with it" and write a custom tool?
I'd hate to duplicate Apple's work; the tool isn't especially urgent;
and I'd like to understand why defaults doesn't work like I expected it
to.
Please lend me the benefit of your wisdom.
--
Mel Walker <email@hidden>
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.