#!/bin/bash # sort of automate updating some repos I like to track fol=~/utils dat_lst=("avalonia-dotnet-templates" "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