Skip to content

Instantly share code, notes, and snippets.

View Bidthedog's full-sized avatar

Chris Bidthedog

View GitHub Profile
#!/bin/bash
baseDirs=( /d/Git/ /d/Projects/ )
let i=1
echo
echo "Pulling git repositories..."
echo
for baseDir in "${baseDirs[@]}"; do
cd $baseDir
echo "$((i++)) - Base directory '$baseDir'"