LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-20-2015, 10:20 AM   #1
atomiccomp
Member
 
Registered: Dec 2008
Location: UK
Distribution: Debian/Ubuntu
Posts: 41

Rep: Reputation: 0
Linux livedrive script not working.


I have setup a file server using the latest version of debian I downloaded yesterday.
To backup my shares I thought I would use livedrive pro to backup, as I read on the livedrive forum it worked with lftp. So I duly installed lftp and used the following in a script;
#!/bin/sh
lftp -u yourlivedriveusername@provider.com,yourpassword sftp://sftp.livedrive.com/ <<EOF
mirror -R -v ~/Documents/ .
quit
EOF

when I run the script it connects to livedrive however I then get a prompt and have to type mirror -R -v ~/Documents/ manually.

I have little or no experience with bash so any help would be appreciated.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can not get LIRC working on my Slackware 13.3x and Creative LiveDrive Dinobot Slackware 10 03-12-2012 12:39 AM
script not working in RedHat Linux. srinivasocp Programming 4 07-15-2007 08:57 PM
Linux Bash Script Not Working?? helptonewbie Programming 12 08-15-2006 12:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration