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

10.4: Merge modified dictionaries from two different Macs System 10.4
As with many users, I use both a laptop and a desktop Mac. On both systems, I use the check spelling feature, and often add words to the dictionaries. The problem is that the two dictionaries are different on both Macs. Here is a shell script [Original source | macosxhints mirror] to synchronize these spelling files using a web site. Each time the script is launched, the remote spelling file is dowloded, synchronised with the local spelling file, then sent to the the remote web site.

Open the script using TextWrangler or your favorite text editor, and fill in the Configure section:
  • LANG allows you to choose which language file to use.
  • REMOTESPELLING is the path of the dictionary on the web site : http://somewhere/folder/$LANG
  • The four variables are for uploding to the web. FTPHOST is the FTP site URL; FTPUSER is the admin user; FTPPASSWORD is your password; and FTPSPELLING is the path of the spelling file on FTP server (www/somewhere/spelling/$LANG).
The script can be used with a crontab file to automate the synch process.

[robg adds: I haven't tested this one.]
    •    
  • Currently 2.40 / 5
  You rated: 5 / 5 (5 votes cast)
 
[7,402 views]  

10.4: Merge modified dictionaries from two different Macs | 3 comments | Create New Account
Click here to return to the '10.4: Merge modified dictionaries from two different Macs' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Merge modified dictionaries from two different Macs
Authored by: al.cameron on Aug 09, '07 09:45:54AM
I haven't tried the script, but noticed the merge pipe
cat /tmp/f1 /tmp/f2 | uniq | sort > /tmp/result
should use
sort | uniq
since uniq won't detect non-adjacent duplicates.

Al

[ Reply to This | # ]

10.4: Merge modified dictionaries from two different Macs
Authored by: grolaw on Aug 13, '07 08:20:02PM

Could somebody please double-check this? I fit into the niche between law and science and have bought 3rd party dictionaries (for WORD) only to find that I'm constantly updating.

This hint could be a major improvement in my life (well, assuming that losing red underlines means anything).

Thanks.



[ Reply to This | # ]
10.4: Merge modified dictionaries from two different Macs
Authored by: gdurr on Aug 25, '07 01:34:43AM

This script only works with Mac OS X dictionaries, not with Microsoft word one.

I have also make some bug corrections (this new version can be downloaded on my web site)



---
--
Guillaume DURR



[ Reply to This | # ]