dbxcli icon indicating copy to clipboard operation
dbxcli copied to clipboard

Add share links

Open nickbasham opened this issue 7 years ago • 4 comments

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.

nickbasham avatar Jan 04 '19 16:01 nickbasham

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.

fadookie avatar Jun 23 '20 16:06 fadookie

Would love CLI to get sharable links.

tentrillion avatar Jul 16 '20 15:07 tentrillion

These other tools provide that functionality:

https://github.com/watermint/toolbox

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

biounix avatar Aug 03 '20 09:08 biounix

+1

kkm avatar Jun 16 '21 09:06 kkm