Sample Header Ad - 728x90

How to rename files in Linux like the ren command in Windows

-1 votes
1 answer
658 views
I need to rename a bunch of files (more than 100) on an Ubuntu system, and want to know how to I do that when the pattern of the files is something like "Filename_01.jpg" to "NameOfFile_01.jpg" In Windows, I would type: ren Filename_*.jpg NameOfFile*.jpg Because of the convoluted way the various commands I have found (rename, mmv, etc.) work, and the syntax examples, I can't make heads or tails of those commands. I don't need to full explanation of how the command works, I just need the exact syntax to do this.
Asked by Ed Swafford (111 rep)
Sep 23, 2023, 07:33 PM
Last activity: Sep 24, 2023, 10:10 AM