$ kaimei -t '{stem|romaji}.{ext}' とうきょうタワー.jpg
  とうきょうタワー.jpg  →  toukyoutawa-.jpg
1 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

$ kaimei -t '{stem|romaji:macron|title}.{ext}' とうきょうタワー.jpg
  とうきょうタワー.jpg  →  Tōkyōtawā.jpg
1 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

$ kaimei -t '{stem|romaji:double}.{ext}' とうきょうタワー.jpg
  とうきょうタワー.jpg  →  tookyootawaa.jpg
1 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

$ kaimei -t '{stem|romaji:none}.{ext}' とうきょうタワー.jpg
  とうきょうタワー.jpg  →  tokyotawa.jpg
1 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

$ kaimei -t '{stem|romaji:kunrei:macron}.{ext}' とうきょうタワー.jpg
  とうきょうタワー.jpg  →  tōkyōtawā.jpg
1 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

$ kaimei -t '{stem|hira}.{ext}' とうきょうタワー.jpg
  とうきょうタワー.jpg  →  とうきょうたわー.jpg
1 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

$ kaimei -t '{stem|kata}.{ext}' とうきょうタワー.jpg
  とうきょうタワー.jpg  →  トウキョウタワー.jpg
1 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

$ kaimei -t '{stem|half}.{ext}' とうきょうタワー.jpg
  とうきょうタワー.jpg  →  とうきょうﾀﾜｰ.jpg
1 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

$ kaimei --romaji-long macron -t '{stem|romaji}.{ext}' とうきょうタワー.jpg
  とうきょうタワー.jpg  →  tōkyōtawā.jpg
1 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

$ kaimei -t '{stem|ascii}.{ext}' 'Müller - Ærø – “Straße”.txt'
  Müller - Ærø – “Straße”.txt  →  Muller - Aero - _Strasse_.txt
1 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

$ kaimei -t '{stem|ascii:de}.{ext}' 'Müller - Ærø – “Straße”.txt'
  Müller - Ærø – “Straße”.txt  →  Mueller - Aero - _Strasse_.txt
1 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

$ kaimei -t '{stem|ascii:da}.{ext}' 'Ålborg Søren.txt'
  Ålborg Søren.txt  →  Aalborg Soeren.txt
1 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

$ kaimei -t '{stem|ascii:sv}.{ext}' 'Ålborg Søren.txt'
  Ålborg Søren.txt  →  Alborg Soren.txt
1 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

$ kaimei -t '{stem|kana}.{ext}' 'sakura no hana.mp3' 'Track 01 - tsuki.mp3'
  sakura no hana.mp3    →  さくら の はな.mp3
  Track 01 - tsuki.mp3  →  Track 01 - つき.mp3
2 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

$ kaimei -t '{stem|kana:strict}.{ext}' 'sakura no hana.mp3' 'Track 01 - tsuki.mp3'
[exit 1]
  sakura no hana.mp3  →  さくら の はな.mp3
  Track 01 - tsuki.mp3  error: {stem}: 'Track' isn't romaji
1 to rename, 0 unchanged.
1 error(s): nothing was renamed.

$ kaimei -t '{stem|kkana}.{ext}' 'ko-hi- to ti-.txt'
  ko-hi- to ti-.txt  →  コーヒー ト チー.txt
1 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

$ kaimei -t '{stem|kkana:loan}.{ext}' 'ko-hi- to ti-.txt'
  ko-hi- to ti-.txt  →  コーヒー ト ティー.txt
1 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

$ kaimei -t '{stem|full}.{ext}' 'ｶﾀｶﾅ ＡＢＣ.txt'
  ｶﾀｶﾅ ＡＢＣ.txt  →  カタカナ　ＡＢＣ.txt
1 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

$ kaimei -t '{stem|full:kana}.{ext}' 'ｶﾀｶﾅ ＡＢＣ.txt'
  ｶﾀｶﾅ ＡＢＣ.txt  →  カタカナ ＡＢＣ.txt
1 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

$ kaimei -t '{stem|half:ascii}.{ext}' 'ｶﾀｶﾅ ＡＢＣ.txt'
  ｶﾀｶﾅ ＡＢＣ.txt  →  ｶﾀｶﾅ ABC.txt
1 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

$ kaimei -t '{stem|hira}.{ext}' コーヒー.txt
  コーヒー.txt  →  こーひー.txt
1 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

$ kaimei -t '{stem|hira:vowel}.{ext}' コーヒー.txt
  コーヒー.txt  →  こおひい.txt
1 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

$ kaimei -t '{stem|tr:ru-simple}.{ext}' 'Москва Щёлково.txt'
  Москва Щёлково.txt  →  Moskva Shchyolkovo.txt
1 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

$ kaimei -t '{stem|tr:ru-simple|tr:ru-simple:reverse}.{ext}' 'Москва Щёлково.txt'
0 to rename, 1 unchanged (--show-unchanged lists them): nothing to do.

$ kaimei -t '{stem|restore:de}.{ext}' 'Mueller Michael Feuer.txt'
  Mueller Michael Feuer.txt  →  Müller Michael Feuer.txt
1 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.
[stderr]
warning: restore:de is guesswork (ae/oe/ue → ä/ö/ü); check every name in the preview

$ kaimei --safe posix -t '{stem|compose}.{ext}' 'M\u:ller.txt'
  M\u:ller.txt  →  Müller.txt
1 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

$ kaimei -t '{stem|tr:el-basic}.{ext}' Αθήνα.txt
  Αθήνα.txt  →  Athina.txt
1 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

$ kaimei -t '{stem|tr:el-basic|upper|tr:el-basic:reverse}.{ext}' Αθήνα.txt
  Αθήνα.txt  →  ΑΘΉΝΑ.txt
1 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

$ kaimei -t '{stem|restore:de}.{ext}' 'Mueller Michael Feuer.txt'
0 to rename, 1 unchanged (--show-unchanged lists them): nothing to do.
[stderr]
warning: restore:de is guesswork (ae/oe/ue → ä/ö/ü); check every name in the preview

$ kaimei -t '{stem|romaji}.{ext}' とうきょうタワー.jpg
  とうきょうタワー.jpg  →  tokyotawa.jpg
1 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

$ kaimei -t '{stem|ascii:xx}' とうきょうタワー.jpg
[exit 1]
[stderr]
kaimei: bad template: ascii: unknown option 'xx' (usage: ascii or ascii:de|da|no|sv|fi)
  {stem|ascii:xx}
        ^

$ kaimei -t '{stem|tr:nope}' とうきょうタワー.jpg
[exit 1]
[stderr]
kaimei: bad template: no table named 'nope' (tables: el-basic, ru-simple)
  {stem|tr:nope}
        ^

$ kaimei -t '{stem|restore}' とうきょうタワー.jpg
[exit 1]
[stderr]
kaimei: bad template: restore needs a language (usage: restore:de)
  {stem|restore}
        ^

