writing a script for Bitcasa

About writing shell scripts and making the most of your shell
Forum rules
Topics in this forum are automatically closed 6 months after creation.
Locked
keithrl

writing a script for Bitcasa

Post 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 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
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Habitual

Re: writing a script for Bitcasa

Post by Habitual »

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 http://forums.linuxmint.com/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!
Locked

Return to “Scripts & Bash”