Tool to monitor ebook device connection and sync remote (webdav) folder to ebook...
[sync-ebook.git] / mount-gvfs
1 #!/usr/bin/expect
2
3 set timeout 10
4 spawn gvfs-mount [lindex $argv 0]
5 expect "User:"
6 send "[lindex $argv 1]\r"
7 expect "Password:"
8 send "[lindex $argv 2]\r"
9 expect eof
10