Created
April 27, 2019 21:26
-
-
Save VladRez/3e16c3f29e0201e5344ee7b15c4d4465 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 DIRNAME in $(find ./ -type d) | |
| do | |
| mv $DIRNAME $(echo $DIRNAME | sed -E 's/FIND/REPLACE/') | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment