https://github.com/naps62/copyright-updater
Get ready for the new year :christmas_tree:
https://github.com/naps62/copyright-updater
Last synced: over 1 year ago
JSON representation
Get ready for the new year :christmas_tree:
- Host: GitHub
- URL: https://github.com/naps62/copyright-updater
- Owner: naps62
- License: other
- Created: 2014-12-29T12:52:59.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-12-29T13:10:35.000Z (over 11 years ago)
- Last Synced: 2025-02-05T06:46:53.677Z (over 1 year ago)
- Language: Shell
- Size: 121 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Copyright Updater
Get ready for the new year. Update your license files

## Usage
Pass as arguments the path to a git repo containing a LICENSE:
./copyright-updater path/to/repo
Or just pass along all your repos:
./copyright-updater my_projects/*
The script will:
* Search for a file with a name matching `LICENSE*`
* Replace `Copyright XXXX` with Copyright `XXXX-2014`
* Replace `Copyright XXXX-YYYY` with Copyright `XXXX-2014`
* Commit the license file and push it
* Warn you for every directory that does not contain a LICENSE file