Timeline for How can I export text substitutions from Lion for import into Mountain Lion
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 14, 2014 at 11:17 | comment | added | Marc Edwards | “NSUserDictionaryReplacementItems” seems to be what you’re after for Mavericks, just in case anyone’s trying to do this on OS X 10.9. :) | |
Jul 28, 2013 at 23:04 | comment | added | robmathers |
@ProBackup I suspect the error is due to the command expansion ($(ls ~/Documents/OS\ X/common-typos.plist) ). You should just have a direct path to the plist file, i.e. /usr/libexec/PlistBuddy -c "Merge '~/Documents/OS\ X/common-typos.plist' NSUserReplacementItems" ~/Library/Preferences/.GlobalPreferences.plist .
|
|
Jul 28, 2013 at 20:51 | comment | added | Pro Backup |
Having issues like "Merge: Error Reading File:" (due to bash missing expansion) merging files with PlistBuddy from your user profile folder, check this example /usr/libexec/PlistBuddy -c "Merge '$(ls ~/Documents/OS\ X/common-typos.plist)' NSUserReplacementItems" ~/Library/Preferences/.GlobalPreferences.plist
|
|
Feb 28, 2013 at 1:25 | comment | added | alex gray | This is a great answer to obscure problem… And to make it even better I whipped up a quick Automator app, "the Text Replacement Migration Assistant", lol, that makes it even easier. find it at github.com/mralexgray | |
Jul 31, 2012 at 17:28 | vote | accept | finiteloop | ||
Jul 29, 2012 at 18:18 | history | answered | robmathers | CC BY-SA 3.0 |