andreafabrizi / Dropbox-Uploader

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.
https://www.andreafabrizi.it/2016/01/01/Dropbox-Uploader/
GNU General Public License v3.0
6.56k stars 1.08k forks source link

Added dropbox account test and command to show version info #575

Open arafatx opened 1 year ago

arafatx commented 1 year ago

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