Created
November 21, 2018 02:28
-
-
Save le-dawg/814b86faf582f5fdf30ed579e5da8cac to your computer and use it in GitHub Desktop.
Replace strings in a fodler structure recursivelz while protecting files/folders
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
grep -rlI git: . --exclude-dir={.git,.circleci,.gitattributes,.gitignore,.editorconfig} | xargs sed -i 's/git:/https:/g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment