Advertisement
Sergio_Istea

update-app-from-git.sh

Nov 9th, 2021
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. apps=$(find $HOME/apps -maxdepth 1 -type d )
  4.  
  5. for i in $apps; do
  6. [ $i == "$HOME/apps" ] && continue
  7.  
  8. cd $i
  9. git pull
  10.  
  11.  
  12. done
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement