Skip to content

Instantly share code, notes, and snippets.

@pvgdevelop
Created November 17, 2017 21:01
Show Gist options
  • Save pvgdevelop/547c07a04ede49f36e5fc0aeb35bf8d8 to your computer and use it in GitHub Desktop.
Save pvgdevelop/547c07a04ede49f36e5fc0aeb35bf8d8 to your computer and use it in GitHub Desktop.
grep -rli --null --include '*.json' find_this_text . | xargs -0 sh -c 'mv "$@" new/destination/path' sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment