https://github.com/giorgosk/dropbox-backup
simple bash script to send a file to dropbox
https://github.com/giorgosk/dropbox-backup
backup bash dropbox shell
Last synced: over 1 year ago
JSON representation
simple bash script to send a file to dropbox
- Host: GitHub
- URL: https://github.com/giorgosk/dropbox-backup
- Owner: GiorgosK
- Created: 2018-09-17T12:59:36.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-12-29T06:10:14.000Z (over 5 years ago)
- Last Synced: 2025-02-17T19:22:54.036Z (over 1 year ago)
- Topics: backup, bash, dropbox, shell
- Language: Shell
- Size: 1000 Bytes
- Stars: 9
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dropbox simple backup
This is a small bash script to backup a single file to dropbox
## setup / create dropbox app
Visit https://www.dropbox.com/developers/apps/create and choose the following
- Dropbox API
- App folder– Access to a single folder created specifically for your app.
- Name: "My Backup"
On the next step on the app's settings generate Access Token and replace it inside the `.sh` file `ACCESSTOKEN=`
## Usage
Make sure you give execute rights to the script
```
chmod +x backup.sh
```
Add your Access Token inside the bash script and call the script as follows
```
./backup.sh file.zip
```
You should see the `file.zip` in Dropbox `APPS > My Backup > backup` folder