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 | |
############################################################################### | |
# A example of how to use getopt to parse command line options. | |
# | |
# name: getopt-example.sh | |
# author: Ryan Chapin | |
# created: 2014-11-11 | |
################################################################################ | |
# USAGE: |
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 | |
# ############################################################################# | |
# If you typically keep your cloned repos in a single directory and happen | |
# to move the location of your remote, here is a script for quickly updating | |
# the remote url for all of the cloned repos in a given directory. | |
# | |
# Run from the same directory in which all of the repos reside as follows: | |
# | |
# /update-remote-url.sh "dir1 dir2 dir3" "[email protected]:/path/to/parent/dir" |