How I can rename images with 'rename' command from "something_full.jpg" to "something_500.jpg" recursive?
|
Basically, you can use the The following command will replace the
To do this recursively, starting from your current directory, use
Note: You may want to test the command before actually executing is. In order to do that, add the |
|||||||
|
|
You may want to look into zmv. zmv is a zsh specific feature, and requires EDIT: As an example, the task the OP posed could be solved with
An excerpt from the
EXTENDED_GLOB patterns are tremendously powerful. Here is a good primer on the concept. |
||||
|
|