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.57k stars 1.08k forks source link

download files form folder to another folder #463

Open diabolo86 opened 5 years ago

diabolo86 commented 5 years ago

Hello.

is it possible to download a file form folder a to folder b without creating a new dir named a in folder b?

Thanks a lot.

filviu commented 5 years ago

I am interested if this is possible as well.

I have tried all variations of

dropbox_uploader.sh download some/folder different_folder/

with and without final slash, tried with wildcard like some/folder/* but no luck.

yceballost commented 4 years ago

I would like to know how to copy just all the files inside a folder to another folder too!

pethkaqeni commented 1 year ago

Hi all, if you don't have find solution to this yet, i have a workaround :)

to download all content from dropbox folder A to machine folder /user/tmp/files_from_dropbox

I have created a Symlink in an other folder with the name of the folder A that is located in Dropbox, that point to the folder that I want the files to go.

ln -s /user/tmp/files_from_dropbox /user/tmp/A

then I use the command:

./dropbox_uploader.sh download A /user/tmp/

That's all, I have test it and it work perfectly.

Hope this will help.