dropbox / dbxcli

A command line client for Dropbox built using the Go SDK
Other
1.05k stars 101 forks source link

Add share links #113

Open nickbasham opened 5 years ago

nickbasham commented 5 years ago

This is a feature request/enhancement. I would love to see the ability to created a shared link with the CLI.

I share PDF proofs or other files with clients several times per day, and prefer to share with the filename set as an HTML link pointing to the Dropbox shared URL. The following is the manual workflow I currently use:

1) Copy filename in Finder 2) Paste filename in Mail 3) Right-click file in Finder and select Copy Dropbox Link 4) Select filename in Mail, right-click and select Link > Add Link, paste in the URL

Doesn't take long, but it's a couple back-and-forth trips I'd prefer to automate.

I was planning to implement this as a custom Alfred workflow (https://www.alfredapp.com/workflows/), allowing me to select the file in Finder, trigger the workflow on it to create an HTML link to the file in the clipboard, then paste into an email. Assuming the CLI supported creating share links, I could add a bash script step in the workflow to handle that portion of it.

fadookie commented 4 years ago

This is the only feature I'd actually install this tool for, seems like almost everything else can be handled by just using the filesystem and letting the dropbox daemon handle syncing in the background.

tentrillion commented 4 years ago

Would love CLI to get sharable links.

biounix commented 4 years ago

These other tools provide that functionality:

https://github.com/watermint/toolbox

https://github.com/andreafabrizi/Dropbox-Uploader (not maintained but still working).

kkm commented 3 years ago

+1