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
Cloud cam security camera raspberry pi
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Cloud cam security camera raspberry pi
Could you post the exact error message you're getting please?
- adasal
- Posts: 44
- Joined: Fri Apr 17, 2015 9:37 am
Re: Cloud cam security camera raspberry pi
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
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
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Cloud cam security camera raspberry pi
Hrm..
Are you entering each of these commands one by one, or pasting the whole set to the command line at once:
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
- adasal
- Posts: 44
- Joined: Fri Apr 17, 2015 9:37 am
Re: Cloud cam security camera raspberry pi
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
Thank you
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Cloud cam security camera raspberry pi
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.
Entering them one line at a time is safe. It's the preferred way, in fact.
Please be positive and constructive with your questions and comments.