Skip to content

Instantly share code, notes, and snippets.

@spellancer
Created March 22, 2014 06:30
Show Gist options
  • Save spellancer/9702246 to your computer and use it in GitHub Desktop.
Save spellancer/9702246 to your computer and use it in GitHub Desktop.
yandex webdav mount script
#!/usr/bin/expect
spawn mount.davfs https://webdav.yandex.ru/RPI /home/sarkisn/webdav/yandex
expect "Username:"
send "[email protected]\r"
expect "Password:"
send "PASSWORD\r"
expect eof
#sudo apt-get install expect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment