RENAME(1) User Commands RENAME(1) rename - rename [] ... rename , . -s, --symlink , . -v, --verbose , , . -n, --no-act ; --verbose, , . -a, --all , . -l, --last , . -o, --no-overwrite . --symlink, , . -i, --interactive . -h, --help . -V, --version . , --no-overwrite, --interactive --no-act, . , - . , , root /lib. , . If the expression is empty, then by default replacement will be added to the start of the filename. With --all, replacement will be inserted in between every two characters of the filename, as well as at the start and end. Normally, only the final path component of a filename is updated. (Or with --symlink, only the final path component of the link.) But if either expression or replacement contains a /, the full path is updated. This can cause a file to be moved between folders. Creating folders, and moving files between filesystems, is not supported. , rename ( tty) , , ENTER . , cbreak, rename . cbreak, , , : sh -c 'stty -icanon min 1; "$0" "$@"; stty icanon' rename -i from to files 0 1 2 4 64 1, ..., 9, 10, ..., 278, rename 00 ? rename 0 ?? 001, ..., 009, 010, ..., 278. rename .htm .html *.htm html. : rename '___' '' ___.* . mv(1) rename util-linux, Linux . util-linux 2.41 2025-03-29 RENAME(1)