Advertisement
Sergio_Istea

update-app-from-git.sh

Nov 9th, 2021
35
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data Copied
Advertisement