Skip to content

Instantly share code, notes, and snippets.

@bitpaint
Last active September 19, 2021 22:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bitpaint/06fe241de7945b99b2fc95324ed34651 to your computer and use it in GitHub Desktop.
Save bitpaint/06fe241de7945b99b2fc95324ed34651 to your computer and use it in GitHub Desktop.
Multiple log maker for Gource
# Log maker for Gource - by Bitpaint and BTCFUD
# Create properly named .txt logs from multiples repos
#
# _________________________________
# HOW TO USE:
#
# 1) Put all the repos you want to log inside a /repos folder
#
# -logmaker.sh (this file)
# -repos (folder)
# -repo1 (github repo)
# -repo2 (github repo)
# -repo3 (github repo)
#
# 2) Run logmaker.sh
#
# _________________________________
cd repos
List=( * )
Loop(){
for item in ${*} ;
do
gource --output-custom-log ${item}.txt ${item}
echo Making gource log file for ${item}
done
}
Loop ${List[*]}
mv *.txt ".."
read -t 5 -p "Done."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment