Command-line tool
ren
brew/ren
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Rename multiple files in a directory
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install ren
Linux
brew install ren
View documentation for the original command
tldr Rename-Item
Related command-line tools
- unar
Command-line unarchiving tools supporting multiple formats - massren
Easily rename multiple files using your text editor - rename-gru
A CLI tool to batch rename files in the provided directory - lftp
Sophisticated file transfer program - rnr
Command-line tool to batch rename files and directories - repren
Rename anything using powerful regex search and replace - fdupes
Identify or delete duplicate files - jdupes
Duplicate file finder and an enhanced fork of 'fdupes'
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents