dotfiles/mgp
surtur 3ea7e248f6
changed the overall logic of tracking
important stuff is now part of a neat array
2019-12-03 11:42:11 +01:00

18 lines
772 B
Bash
Executable File

#!/bin/bash
# sort of automate updating some repos I like to track
fol=~/utils
dat_lst=($(echo btrfs-{snp,sync}) "avalonia-dotnet-templates" "flutter" "ghidra" "icons/flat-remix" $(echo themes/flat-remix-{gtk,gnome}) $(echo int0x80/{1337-Noms-The-Hacker-Cookbook,anti-forensics,AWSBucketDump,blog,ctf-vm,dotfiles,FSEventsParser,githump,gobuster,iot-stuff,killallthehumans,lolsolved,nimbostratus,Packt-Publishing-Free-Learning,privoxy-mods,pxe,reversing,S3Scanner,slurp,sqlmap,SweetSecurity,tcispy,windows}) "MEGA-Instances" "sdtool" "scripts-vermaden" "TrebleShot-Desktop")
#for i in $dat_list; do
for i in "${dat_lst[@]}"; do
echo "change directory to \"$i\""
cd $fol/$i
echo "git pull"
git pull
echo -e "get back to \"$fol\"\n"
cd $fol
done