Skip to content

Instantly share code, notes, and snippets.

@zidarsk8
Last active November 23, 2017 17:17
Show Gist options
  • Save zidarsk8/7d8d3930c59403afa5d09b48278e37c0 to your computer and use it in GitHub Desktop.
Save zidarsk8/7d8d3930c59403afa5d09b48278e37c0 to your computer and use it in GitHub Desktop.
zidar@dashie ~/programming/ggrc-core
$ find . -type f ! -path "./.git/*" ! -path "./third_party/*" ! -path "*/vendor/*" ! -path "./without_copyright" | sort > without_copyright
zidar@dashie ~/programming/ggrc-core
$ grep -r "Copyright (C)" . | grep -o "^[^:]*" | sort -u > with_copyright
zidar@dashie ~/programming/ggrc-core
$ diff without_copyright with_copyright
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment