CLI and elisp for renaming