Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env bash
- echo "[*] Script started"
- for file in ~/Documents/Tools/*
- do
- echo "$file"
- [ -d "$file" ] && cd "$file"
- echo "[*] cd into "$file""
- sleep 1
- git pull
- done
- echo "[*] Script done"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement