We Want to Hear From You! What Do You Want to See on the Community? Tell us here!
Forum Discussion
SPZC
5 years agoExplorer | Level 3
Share directory via command-line
Hello,
I have Dropbox client installed on Fedora. Everything works as a charm, but I cannot find one function. I am not sure if it is available.
I have list of dedicated directory names and emails in csv file like:
user1;email1@gmail.com
user2;email2@gmail.com
...
I use bash script to create directory for every user*. But is there a possibility of sharing directories via email as it is possible in Web UI? As I have many directories, sharing all of them in web browser is consuming a lot of time. I would expect something like:
dropbox share user1 email1@gmail.com
Which can be easily scripted.
Any idea?
3 Replies
- Daphne5 years ago
Dropbox Community Moderator
Hey SPZC, thanks for reaching out to us here!
Through the command line you'll only be able to share with a shared link. You can find more info on the command here.
This will only allow them view and download access to the file, so if you need to add them with editing access, you'll need to go through the website instead I'm afraid.
I hope this helps, let me know if you have any questions! - SPZC5 years agoExplorer | Level 3
Thanks for the reply. Unfortunately this is not suitable for me. Even with the shared url I would have to send mails manually.
Is there any way to automate sharing via email?
- Daphne5 years ago
Dropbox Community Moderator
Thanks for getting back to me here SPZC.
If you're using a headless install, there isn't much more I could suggest here.
You would be able to share from the local Dropbox folder if you used the full desktop app, which you can check out the requirements for here, if you're interested.
Otherwise, if you're comfortable with using API, I could suggest checking out this page, or even posting in our dedicated API section here.
I hope this helps to some extent!
About Create, upload, and share
Find help to solve issues with creating, uploading, and sharing files and folders in Dropbox. Get support and advice from the Dropbox Community.
Need More Support
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!