RENAME Commands Cheat Sheet

Here is a cli commands cheat sheet for RENAME command, you can use this as a quick reminder for basic commands with a brief description for each of the commands.

What is RENAME command?

Add some data here

        # To lowercase all files and folders in current directory:
rename 'y/A-Z/a-z/' *

# To replace 'sometext' with 'replacedby' in all files in current directory:
rename 's/sometext/replacedby/' *

Check out the RENAME command documentation .

You can also check our MegaSh cheatsheet tool, that has 150+ searchable linux cheat sheets in one page, so you never forget a command as you work again

Check Also

Best AI tools list