Page 1 of 1

writing a script for Bitcasa

Posted: Sun Jun 22, 2014 9:34 am
by keithrl
I'm very new to terminal and scripting.

Im trying to write a script to log me in to Bitcasa. If I put the lines in below in terminal I'm able to login

mount -tbitcasa /home/krl/Bitckrl

next line
Password: enter your bitcasa logon password

Then wait approx 10-15 seconds then you will you will find an icon on the desktop "Bitcasa"
you can the drag and drop files into "Bitcasa"

I would love to have script to do this
Could anybody help please
Thank you

Re: writing a script for Bitcasa

Posted: Wed Feb 11, 2015 10:21 am
by Habitual

Code: Select all

mount -tbitcasa /home/krl/Bitckrl &&
but that won't quite work from the example you've shown, so I'd try or use

Code: Select all

mount -tbitcasa /home/krl/Bitckrl && mail -s Mounted < /dev/null
You should get an email saying "Mounted" and nothing in the body.

See also
See also ... g-at-boot/ for passing password to mount operation. (one less prompt, eh?)

Welcome to LM!