Skip to content

Instantly share code, notes, and snippets.

@le-dawg
Created November 21, 2018 02:28
Show Gist options
  • Save le-dawg/814b86faf582f5fdf30ed579e5da8cac to your computer and use it in GitHub Desktop.
Save le-dawg/814b86faf582f5fdf30ed579e5da8cac to your computer and use it in GitHub Desktop.
Replace strings in a fodler structure recursivelz while protecting files/folders
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