writing a script for Bitcasa

Forum rules
Before you post please read how to get help

writing a script for Bitcasa

Postby keithrl on 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
keithrl
Level 1
Level 1
 
Posts: 1
Joined: Sun Jun 22, 2014 9:20 am

Linux Mint is funded by ads and donations.
 

Re: writing a script for Bitcasa

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

Code: Select all
#!/bin/bash
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!
If you can't find an answer at Google, you must be typing in Braille.
User avatar
Habitual
Level 10
Level 10
 
Posts: 3468
Joined: Sun Nov 21, 2010 8:31 pm
Location: Youngstown, Ohio


Return to Scripts & Bash

Who is online

Users browsing this forum: No registered users and 1 guest