writing a script for Bitcasa

Forum rules
Before you post please read how to get help
Level 1
Level 1
Posts: 1
Joined: Sun Jun 22, 2014 9:20 am

writing a script for Bitcasa

Postby keithrl » Sun Jun 22, 2014 9:34 am

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 email@gmail.com /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

User avatar
Level 13
Level 13
Posts: 4866
Joined: Sun Nov 21, 2010 8:31 pm

Re: writing a script for Bitcasa

Postby Habitual » Wed Feb 11, 2015 10:21 am

Code: Select all

mount -tbitcasa /home/krl/Bitckrl && email@gmail.com

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 email@gmail.com < /dev/null

You should get an email saying "Mounted" and nothing in the body.

See also viewtopic.php?f=213&t=77483
See also http://forums.bitcasa.com/index.php?/to ... g-at-boot/ for passing password to mount operation. (one less prompt, eh?)

Welcome to LM!
rkhunter 1.4.3 Tutorial
“The single biggest problem in communication is the illusion that it has taken place.”

Return to “Scripts & Bash”

Who is online

Users browsing this forum: No registered users and 1 guest