Skip to content

Instantly share code, notes, and snippets.

@Pythonista7
Created September 13, 2022 04:02
Show Gist options
  • Save Pythonista7/b3f9dbc3611ec8c0d5f754af80d88319 to your computer and use it in GitHub Desktop.
Save Pythonista7/b3f9dbc3611ec8c0d5f754af80d88319 to your computer and use it in GitHub Desktop.
for i in $(find ./ -name '*.tsx')
do
if ! grep -q Copyright $i
then
cat copyright.txt $i >$i.new && mv $i.new $i
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment