Newyearify - Update the copyright year in all of your GitHub repos

new_yearify

Update the copyright year in all of your GitHub repositories.

How does it work?

  1. Clone all repositories owned by your account in a temporary directory. new_yearify will only clone repositories that aren't forks and aren't archived.
  2. Change 2021 to 2022 in any files with the word "license" in them (not case sensitive).
  3. If changed, commit the change and push it.

Pretty simple but trust me, when you have a lot of repositories it saves you a ton of time.

Installing

  • macOS: brew install gleich/homebrew-tap/new_yearify.
  • Linux and Windows: download a binary from the releases page.

Basic Usage

Creating a PAT (personal access token)

Before you can use new_yearify you need to create a personal access token from GitHub. Please select the repo scope. To be able to load private repositories, this top-level scope needs to be selected. If you don't feel comfortable using this top-level scope you can tick none of the boxes to have new_yearify just update public repositories.

Running the CLI

Open up your terminal and run the following terminal command:

new_yearify 2021 2022

This will update all copyright years from 2021 to 2022

Options

Cloning with SSH

To clone with SSH instead of HTTPS please add the following flag to the end of the command like so:

new_yearify 2021 2022 --ssh
Owner
Matt Gleich
17-year-old building scalable, performant, and simple applications using cutting-edge languages & frameworks. 100% self-taught πŸš€
Matt Gleich
Similar Resources

Service for read & update MAC OUI list

manufacturer-parser Service written on Golang to get actual MAC OUI list from here and store to MongoDB. Needed for dealt with actual list in Wimark O

Dec 29, 2021

Ghissue - This repo contains a github issue parser, that is useful for Enterprise Github accounts.

Ghissue - This repo contains a github issue parser, that is useful for Enterprise Github accounts. Sometimes is needed to parse the content of the issue for some data extraction or statistics purposes.

Feb 6, 2022

A tool to manage all your boilerplate from cli and generate files for you !

A tool to manage all your boilerplate from cli and generate files for you !

Jul 20, 2022

The Emojinator CLI: for all your emojipasta needs 🦾😎

🦾 😎 The Emojinator ALL YOUR emojipasta 🍝 ARE BELONG TO US. This command line tool has one main purpose: turn your files into emojipasta by specifyi

Jan 6, 2022

A minimal CLI tool to enable (or disable) dependabot for all your repositories

Enable Dependabot A minimal CLI tool to enable (or disable) dependabot for all your repositories. Installation Install via Go go get -v github.com/RiR

Feb 10, 2022

Are you programming and suddenly your stomach is rumbling? No problem, order your Ifood without leaving your favorite text editor ❀️

vim-ifood VocΓͺ ta programando e de repente bateu aquela fome? Sem problemas, peΓ§a seu Ifood sem sair do seu editor de texto favorito ❀️ Are you progra

Jun 2, 2022

πŸ™πŸ±πŸ–₯️ GitHub stats in your terminal

πŸ™πŸ±πŸ–₯️ GitHub stats in your terminal

πŸ™ 🐱 πŸ–₯️ octotui - GitHub stats in terminal Inspired by metrics & github-profile-summary-cards & github-tui πŸ’– Data - irevenko/octostats TUI - termui

Dec 25, 2022

An extension for the GitHub Cli application that displays your current contribution graph

An extension for the GitHub Cli application that displays your current contribution graph

gh-graph An extension for the GitHub Cli application that displays your current contribution graph in the terminal (logged out contribution graph) Ins

Sep 29, 2021

Command-line utility to grab Github gists from your own account.

Command-line utility to grab Github gists from your own account.

gistfetch Command-line utility to grab Github gists from your own account. How do I use this? Add an API token with permissions to read Gists Fetch th

Dec 14, 2021
GitHub CLI extension to clone (or update) all repositories in an Organization, with the ability to filter via search queries.

gh-org-repo-sync GitHub CLI extension to clone all repositories in an Organization, with the ability to filter via search queries. If a local clone al

Nov 2, 2022
🦜 Navigate github repos in a tui

goh Navigate github repos in a tui Why I am constantly refering to my github repos and repos from others for code snippets that are relevant to what I

Dec 10, 2021
CLI tool to update ~/.aws/config with all accounts and permission sets defined in AWS SSO

aws-sso-profiles Generate or update ~/.aws/config with a profile for each SSO account you have access to, by using an existing AWS SSO session. Bootst

Nov 3, 2022
A simple CLI app to update dynamic DNS settings for your CloudFlare account

Cloudflare Dynamic DNS Updater (Go) written by Darren Rambaud Why? A simple CLI app to update dynamic DNS settings for your CloudFlare account. Useful

Nov 28, 2021
GitHub CLI extension to preview your markdown similar to the style of GitHub.
GitHub CLI extension to preview your markdown similar to the style of GitHub.

gh markdown-preview GitHub CLI extension to preview your markdown similar to the style of GitHub gh markdown-preview is a GitHub CLI extension to prev

Jan 8, 2023
Mass download all github repositories(public & private) of an organization, ideally in a few seconds.

Git Mass Mass download all github repositories(public & private) of an organization, ideally in a few seconds. Writing this as a simple bash script wo

Dec 27, 2021
Query, update and convert data structures from the command line. Comparable to jq/yq but supports JSON, TOML, YAML, XML and CSV with zero runtime dependencies.
Query, update and convert data structures from the command line. Comparable to jq/yq but supports JSON, TOML, YAML, XML and CSV with zero runtime dependencies.

dasel Dasel (short for data-selector) allows you to query and modify data structures using selector strings. Comparable to jq / yq, but supports JSON,

Jan 2, 2023
CLI for SendGrid, which helps in managing SSO users, can install and update users from yaml config

Sendgrid API This script is needed to add new users to SendGrid as SSO teammates. Previously, all users were manually added and manually migrating the

Jul 20, 2022
Get Brew Packages to update, just like you've experienced from Ubuntu
Get Brew Packages to update, just like you've experienced from Ubuntu

Get the number of Brew Packages to update, just like you've experienced from Ubuntu BrewUpdate is a simple utility written in Go, notify you how many

Nov 6, 2021
Golang daemon to update i3 workspace icons

i3-icons-daemon Is a lightweight golang daemon service that updates your i3 workspace based on the programs that are running in your workspace's windo

Jul 29, 2022