Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # fastaddcommit.sh
- git add *
- git commit -m "fire"
- # fastpush.sh
- git push -u origin master
- # runfirebackup.sh
- # run this script in case of fire
- #!/bin/bash
- cd /home/user/Projects/Active/
- ls -l | grep drwxrwxr-x | awk ' /d/ {print $NF}' > dirs.txt
- dirnames=`cat dirs.txt`
- $i = 0
- for loop while($i != EOF)
- cd $line[$i]
- fastaddcommit.sh
- fastpush.sh
- sudo poweroff
Add Comment
Please, Sign In to add comment