Created
September 4, 2014 19:30
-
-
Save luizcanet/397d3511054cd3a86f59 to your computer and use it in GitHub Desktop.
Linux Commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rename 1.jpg to 001.jpg | |
rename 's/\d+/sprintf("%03d",$&)/e' * |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment