Command Line For Dropbox Cloud to Login, Upload, Delete Files is possible using cURL, grep, tr, sed as well as using scripts written in ruby, php or bash script. By default these will work on Linux or Mac OS X not for Windows. For Windows you need to install the components. cURL, grep, tr, sed are normal standard UNIX commands.
Command Line For Dropbox Cloud : For Windows Only
Command Line For Dropbox Cloud to Login, Upload, Delete Files for Windows will work too. Here are the required guides, these are must if you want to use Command Line For Dropbox in the next steps :
- Installing cURL in Windows to Run cURL Commands Natively ; this is only for cURL.
- Console2 Customization and UNIX Functions ; this will give you somewhat better all in one solution.
Command Line For Dropbox Cloud : Mac Only
Mac has cURL by default. For other commands, Mac OS X 10.8 needs some fix :
- Fixing UNIX Commands After OSX 10.8 Updates Using iTerm2 in OS X 10.8
- Using iTerm2 in OS X 10.8 (Optional)
Command Line For Dropbox Cloud : Linux Only
All the major distributions have packages. The following is an example to get it installed on Debian/Ubuntu:
sudo apt-get install curl
The following command will install curl for Fedora/CentOS/Redhat :
yum install curl
Command Line For Dropbox Cloud to Login, Upload, Delete Files
So basically Windows, Linux and Mac users now has been somewhat alike. cURL is basically very nice tool. You can check the installation by running :
The usual flags are :
-c : Saves the cookie to the cookie.txt file
-o : Saves all response output to file
-F : Form emulation
-I : Equivalent of a HTTP HEAD request
Non Dropbox example of cURL :
curl -I https://thecustomizewindows.com
But actually it is pathetic to normally use bigger command. So here is a script :
Clone it and run the commands. Read the documentation on readme me file.
Follow the Author of this article :