This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
lines=$(tput lines) | |
cols=$(tput cols) | |
awkscript=' | |
{ | |
lines=$1 | |
random_col=$3 | |
letter=$4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# Export or update OLD_ORG and NEW_ORG to match the old and new organization names in Git | |
OLD_ORG=${OLD_ORG:-"<old-org-name>"} | |
NEW_ORG=${NEW_ORG:"<new-org-name>"} | |
for REPO in $(find ${PWD} -type d -name .git 2>/dev/null); do | |
cd ${REPO} | |
if git remote -v | grep /${OLD_ORG}/ &>/dev/null; then | |
echo "* Processing: ${REPO}" |