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

Doesn't seem to handle downloading Mac files (some of which are directories) very well #552

Open dbmajor opened 2 years ago

dbmajor commented 2 years ago

Hi there,

From what I can see, the script is not handling Mac file extensions very well.

The script sees a mac file with an extension (example .band) as a file, possibly because it has a period (.) in it, however, it should be treated like a directory because mac files contain other files that can be seen when you "show package contents"

It then tries to download this "file" as if it were a file, but dropbox sees it as a directory, so the request fails.

I had a quick scout of the issues list but couldn't see anything similar in there.

Other than that, I love this script, it's so good to know I have a dropbox backup on my router, excellent!

Cheers, Josh