Tag Info

About

Renaming is the action of giving a different name to an object (e.g. file, link or directory). It can also refer to the act of giving a new name to a copy of an object, while performing another operation such as uploading or remote copy.

The command renaming is mv, but this is very basic and doesn't support functionality like renaming the extensions of a bunch of files┬╣. To rename objects using some pattern, either requires the shell to do pattern matching and replacement and then invoking mv, or use of some other command like rename (implemented in Perl).

┬╣ DOS command prompt users are used to be able to do ren *.txt *.doc, something not built into mv.

history | show excerpt | excerpt history