Skip to content

Instantly share code, notes, and snippets.

@lotem lotem/gist:4483504 forked from anonymous/gist:4483496
Last active Feb 13, 2020

Embed
What would you like to do?
用移動硬盤同步RIME用戶詞典的樣例
# 用移動硬盤同步RIME用戶詞典的樣例
# 用於同步的分區名爲share(盤符H:),同步文件夾是 home/rimesync,Linux 用戶名爲 lotem
# 每套輸入法分別在 installation.yaml 裏設 sync_dir 和 installation_id
# 接上硬盤,Windows 和 Mac 一鍵完成同步。Linux 用 rime_dict_manager -s 同步。
➜ ~ for x in /media/share/home/rimesync/*/installation.yaml ~/.config/ibus/rime/installation.yaml; do echo $x; echo '---'; cat $x; echo '...'; done
/media/share/home/rimesync/lotem-macbook/installation.yaml
---
distribution_code_name: Squirrel
distribution_name: "鼠须管"
distribution_version: 0.9.14
install_time: "Mon Feb 20 23:00:26 2012"
installation_id: "lotem-macbook"
rime_version: 0.9.6
update_time: "Mon Jan 7 10:20:29 2013"
sync_dir: /Volumes/share/home/rimesync
...
/media/share/home/rimesync/lotem-win7-desktop/installation.yaml
---
distribution_code_name: Weasel
distribution_name: "小狼毫"
distribution_version: 0.9.18.5
install_time: "Sat Mar 03 15:18:24 2012"
rime_version: 0.9.6
update_time: "Mon Jan 07 19:15:09 2013"
installation_id: "lotem-win7-desktop"
sync_dir: 'H:\home\rimesync'
...
/home/lotem/.config/ibus/rime/installation.yaml
---
distribution_code_name: "ibus-rime"
distribution_name: Rime
distribution_version: 0.9.6
install_time: "Tue Jan 17 21:40:43 2012"
installation_id: "lotem-archlive"
rime_version: 0.9.6
sync_dir: "/media/share/home/rimesync"
update_time: "Wed Jan 9 03:32:12 2013"...
➜ ~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.