Last active
September 19, 2021 22:42
-
-
Save bitpaint/06fe241de7945b99b2fc95324ed34651 to your computer and use it in GitHub Desktop.
Multiple log maker for Gource
This file contains hidden or 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
# 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