Skip to content

Instantly share code, notes, and snippets.

@rorymalcolm
Created January 24, 2020 13:32
Show Gist options
  • Select an option

  • Save rorymalcolm/8edb9fa76ac6417bee931075001853b9 to your computer and use it in GitHub Desktop.

Select an option

Save rorymalcolm/8edb9fa76ac6417bee931075001853b9 to your computer and use it in GitHub Desktop.
#!/bin/sh
for f in *; do
if [ -d "$f" ]; then
# $f is a directory
echo $f
figlet -f cricket -w 200 $f
cd $f
git checkout master && git pull
cd ../
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment