Last active
April 23, 2022 16:13
-
-
Save 8dcc/3fe7c1e476f034fed5ddfeb91b96acbb to your computer and use it in GitHub Desktop.
Bash script for cloning my most important repos (a lot). Mostly for local backups.
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
#!/bin/bash | |
repos=( | |
"vat" | |
"v-stuff" | |
"browser-homepage" | |
"discord-bot" | |
"vim-dotfiles" | |
"dotfiles" | |
"langtons-ant-c" | |
"nginx-website-ssl" | |
"c-stuff" | |
"arch-dotfiles" | |
"r4v10l1" | |
"cmder-dotfiles" | |
"rule110" | |
"interference-noise" | |
"4chan-downloader" | |
"codewars-brainfuck" | |
"codewars-c" | |
"dwm-lite" | |
"file-encrypter" | |
"game-of-life" | |
"gmod-e2" | |
"gmod-lua" | |
"mindustry-image-generator" | |
"nDownloader" | |
"PasswordGenerator" | |
"python-dehasher" | |
"text2asciiart" | |
"text2brainfuck" | |
"rust-guess-game" | |
"LangtonsAnt" | |
) | |
if [[ $(command -v git) != "" ]]; then | |
echo -ne "You are about to clone ${#repos[@]} repositories. Press any key to continue..." | |
read balls | |
else | |
echo -e "I can't find git. Exiting..." | |
exit 1 | |
fi | |
for repo in ${repos[@]}; do | |
git clone https://github.com/r4v10l1/$repo | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment