Cloud cam security camera raspberry pi

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
adasal
 
Posts: 44
Joined: Fri Apr 17, 2015 9:37 am

Cloud cam security camera raspberry pi

Post by adasal »

Hello
I'm doing the https://learn.adafruit.com/cloud-cam-co ... a/overview and when I get to the Dropbox Uploader setup section I use the git command "git clone https://github.com/andreafabrizi/Dropbox-Uploader.git" and now I get a fatal error message: Directory already exists and is not empty. When I try to run dropbox_uploader I get an error message "Command not recognized"
What should I do?
Thank you for any help

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Cloud cam security camera raspberry pi

Post by adafruit_support_mike »

Could you post the exact error message you're getting please?

User avatar
adasal
 
Posts: 44
Joined: Fri Apr 17, 2015 9:37 am

Re: Cloud cam security camera raspberry pi

Post by adasal »

Here are the messages

sudo apt-get update
sudo apt-get install -y curl
cd ~
git clone https://github.com/andreafabrizi/Dropbox-Uploader.git
cd Dropbox-Uploader
chmod a+x dropbox_uploader.sh
sudo cp dropbox_uploader.sh /usr/local/bin/dropbox_uploader
fatal: destination path 'Dropbox-Uploader' already exists and is not an empty directory.
pi@raspberrypi:~ $ cd Dropbox-Uploader
pi@raspberrypi:~/Dropbox-Uploader $
fatal: destination path 'Dropbox-Uploader' already exists and is not an empty directory.
pi@raspberrypi:~ $ cd Dropbox-Uploader dropbox_uploader
bash: dropbox_uploader: command not found

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Cloud cam security camera raspberry pi

Post by adafruit_support_mike »

Hrm..

Are you entering each of these commands one by one, or pasting the whole set to the command line at once:

Code: Select all

sudo apt-get update
sudo apt-get install -y curl
cd ~
git clone https://github.com/andreafabrizi/Dropbox-Uploader.git
cd Dropbox-Uploader
chmod a+x dropbox_uploader.sh
sudo cp dropbox_uploader.sh /usr/local/bin/dropbox_uploader

User avatar
adasal
 
Posts: 44
Joined: Fri Apr 17, 2015 9:37 am

Re: Cloud cam security camera raspberry pi

Post by adasal »

Actually I am pasting all to the command line. I am new at this so if I enter each command I would probably make an error. Why would pasting all the commands at once not work?
Thank you

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Cloud cam security camera raspberry pi

Post by adafruit_support_mike »

It looks like the command line thinks it's all one statement, and parts of different commands are getting mixed together.

Entering them one line at a time is safe. It's the preferred way, in fact.

Locked
Please be positive and constructive with your questions and comments.

Return to “General Project help”