Created
December 23, 2018 04:10
-
-
Save zinzinday/5a3fec8d0a95e4306e83aa3d26674f5c to your computer and use it in GitHub Desktop.
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
find . -name "fgh*" -type f -print0 | xargs -0 -I {} sh -c 'mv "{}" "$(dirname "{}")/`echo $(basename "{}") | sed 's/^fgh/jkl/g'`"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment