Last active
May 20, 2022 08:54
-
-
Save fhferreira/f429a059b9c1efcfa656 to your computer and use it in GitHub Desktop.
Rename "-" to "_" hyphens to underscores in linux
This file contains hidden or 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
| #go to your directory with cd /tmp/images (Sample) and run this command. | |
| for i in *-*;do mv $i ${i//"-"/"_"};done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment