Dropbox Uploader is a BASH script which can be used to upload, download, list or delete files from Dropbox, an online file sharing, synchronization and backup service.
Added test command to test dropbox account and run test upload, share, and delete.
eg:
test
output:
Test file uploading ...
> Uploading "/tmp/dropbox_uploader_test_file" to "/dropbox_uploader/dropbox_uploader_test_file"... DONE
[ OK ]
Test file sharing ...
> Share link: https://www.dropbox.com/s/e6xul4bjyk8xdlx/dropbox_uploader_test_file?dl=0
[ OK ]
Test file deleting ...
> Deleting "/dropbox_uploader/dropbox_uploader_test_file"... DONE
[ OK ]
Removing local test file ...
The above command 'test' will run automatically after a file config has been created.
Added command to show script version
eg:
version
output
Dropbox Uploader v1.0
Added missing return 1 logic for some codes
Added test command to test dropbox account and run test upload, share, and delete.
eg: