Created
July 22, 2017 14:10
-
-
Save songpon/0e94fbc9b168dffb2a3fe412e2342527 to your computer and use it in GitHub Desktop.
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
!/bin/bash | |
for f in *; do mv "$f" "`echo $f | sed s/search_str/replace_str/`"; done | |
# example | |
#for f in *; do mv "$f" "`echo $f | sed s/_NongZEZA@CtHts//`"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment