Guest User

Untitled

a guest
Jul 19th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. #!/bin/sh
  2. # \
  3. exec expect -f "$0" ${1+"$@"}
  4. set password [lindex $argv 0]
  5. set dir [lindex $argv 1]
  6. cd $dir
  7. spawn git pull
  8. sleep 1
  9. expect "assword:"
  10. send "$password\r"
  11. expect eof
Add Comment
Please, Sign In to add comment