Name

rename

Synopsis

    rename from to files ...

Rename files by replacing the first occurrence of from in each filename with to.

Example

Rename files that start with test so they start with mytest:

    rename test mytest test*

Get Unix in a Nutshell, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.