rename <wildname> {,<wildname> ... } ,<dest>
Rename one or more disc files.
<wildname>
The file or files to be renamed.
<dest>
The destination for the rename. This can be a wild name or a single file,
or just the name of a directory. If there is more than one file to be renamed,
this must not be a single file name. On Windows systems, any attempt to rename a
file with just a change of case is ignored.
-c
If the destination file(s) exist, prompt for confirmation before they
are replaced.
-q
Quiet mode. Do not record an error or print an error message if the
file(s) cannot be found.
-v
Prompt for verification before each file rename.
Rename one file.
rename a.cmd, b.cmd
Move files to another directory with verification.
rename *.cmd, /usr/cmds, -v
Change the extension on two files.
rename a.dat, b.dat, *.old
Commands: |