$ kaimei -t '{n}_{name}' a9.txt a10.txt b.txt
  a9.txt   →  1_a9.txt
  a10.txt  →  2_a10.txt
  b.txt    →  3_b.txt
3 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

$ kaimei -t '{n:03}_{name}' --start 0 --step 10 a9.txt a10.txt b.txt
  a9.txt   →  000_a9.txt
  a10.txt  →  010_a10.txt
  b.txt    →  020_b.txt
3 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

$ kaimei -t '{n:3}_{name}' --start 5 --step -1 a9.txt a10.txt b.txt
  a9.txt   →    5_a9.txt
  a10.txt  →    4_a10.txt
  b.txt    →    3_b.txt
3 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

$ kaimei -t '{n}_{name}' --sort name a9.txt a10.txt b.txt
  a10.txt  →  1_a10.txt
  a9.txt   →  2_a9.txt
  b.txt    →  3_b.txt
3 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

$ kaimei -t '{n}_{name}' --sort mtime a9.txt a10.txt b.txt
  a10.txt  →  1_a10.txt
  b.txt    →  2_b.txt
  a9.txt   →  3_a9.txt
3 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

$ kaimei -t '{n}_{name}' --sort size a9.txt a10.txt b.txt
  a10.txt  →  1_a10.txt
  a9.txt   →  2_a9.txt
  b.txt    →  3_b.txt
3 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

$ kaimei -R -t '{n}_{name}' d1 d2
  d1/x.txt  →  1_x.txt
  d2/y.txt  →  2_y.txt
2 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

$ kaimei -R -t '{n}_{name}' --counter-per-dir d1 d2
  d1/x.txt  →  1_x.txt
  d2/y.txt  →  1_y.txt
2 to rename, 0 unchanged. Preview only: nothing was renamed; add -y to apply.

