One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
k s.4
11 years agoNew member | Level 1
remove all shared links
Hi, I have many links in the links-list. Way to many. I take it that the files linked are accessible for anyone with the link. I want all these links removed with one command. It is too many to do it manually for each one.
Thanks
Please be careful as it will delete all your shared links! You have been warned! Works in Chrome (61.0.3163.100) maybe firefox and internet explorer but no links to test =) Open the browser's console window (right click anywhere and select inspect or control+shift+i) while in the shared links page. Paste the following code in the console command line, click enter and it will delete all shared links.
Due to secure http loading jquery (as suggested by other post) does not work, so this option is fine with vanilla javascript. The script below simulates consecutive mouse clicks: 1. click the three dot button next to the link, 2. click the delete link button in the drop down, 3. click the delete link buttin in the pop up dialog box. Note that it will take a minute to execute all those but in the end the list shall be clear. Hope it save you some trouble... and again be careful
for( var index = 0; index < 1000; index++ )
{
var dots = document.getElementById("bubbleDropdownTarget-" + index );
if( dots == undefined ) continue;
dots.click( );
document.getElementsByClassName( "bubble-menu-item" )[0].click( );
document.getElementsByClassName( "button-primary dbmodal-button" )[0].click( );
}
- Markus M.7Helpful | Level 5
Thanks Rick, I know how to remove links that I created myself. What I as a team admin need though ist the ability to remove ANY existing links from a given file – not just the ones create by me.
The only way to do this right now ist to dig through the activity feed in the admin panel. Tedious at best.
As to how users are supposed to know about this, you’ll have to ask the Dropbox team … ;)
I know it from the newsletter which I have subscribed to. - RichSuper User II
Renaming no longer invalidates liniks?! How are users supposed to know this?
Users that this affects (namely, DfB users) were notified via email.
- Erik D.9Explorer | Level 4
Renaming no longer invalidates links
I moved all Screenshot files (430) outside the Dropbox directory. They disappeared from dropbox.com/links. Then I moved them back. They reappeared and were accessible.
I moved the Screenshot files outside the Dropbox directory (they disappeared) and then to another Dropbox directory. They reappeared in the dropbox.com/links.
I moved a Screenshot file outside the Dropbox directory, renamed the file and moved the file back to another Dropbox directory. The file reappeared in the dropbox.com/links.
I renamed the file, modified the time, edited the file and moved it in a new directory. The new file was visible in the dropbox.com/links and accessible.
Conclusion: managing the rat's nest of shared links is an organizational challenge.
.
- Rick_MExperienced | Level 13
Conclusion: managing the rat's nest of shared links is an organizational challenge.
And it makes a lot of additional work for users!
- Clément C.Helpful | Level 5
Hi, same here, too many links created by screenshots on mac. I like to share my screenshots with my other computers/phone, I don't want to share them to the world. I'd prefer to choose the screenshot I eventually want to share like any other file. Could there be an option to save screenshots to the dropbox folder but not creating links? With the new link functionality that follows files if you move or rename them, the trick of moving screenshots to stop sharing doesn't work anymore! Thanks in advance.
- RichSuper User II
Could there be an option to save screenshots to the dropbox folder but not creating links?
Are you certain that feature doesn't already exist? I can't speak for Mac, but on Windows a link is only created when holding CTRL while taking the screenshot. Take it without that modifier key and it's just a screenshot without a link.
- Clément C.Helpful | Level 5
Are you certain that feature doesn't already exist? I can't speak for Mac, but on Windows a link is only created when holding CTRL while taking the screenshot. Take it without that modifier key and it's just a screenshot without a link.
Hi Rich R. Thank you for the tip but it doesn't work on mac. On mac, it uses the same screenshot functionality that the system, with the same shortcuts, but dropbox automatically saves them in a dedicated folder in the dropbox instead of the desktop and automatically creates a link. But if it's possible on windows, it should be on mac... The annoying part is that the first message on this topic complaining about this mac only functionality is 6 months old, and nothing changed yet ;)
- Ben P.16New member | Level 1
There is a way to save screenshots to dropbox without creating the shared link by default, by using a built in feature of OS X and the terminal.
Open a terminal and issue these two commands:
defaults write com.apple.screencapture location ~/Dropbox/Screenshots
killall SystemUIServer
for details see:
http://mac-how-to.wonderhowto.com/how-to/change-default-save-location-screenshots-mac-os-x-for-cleaner-desktop-0160154/ - Ben P.16New member | Level 1
If you never use public links, know what you are doing, and want to purge all links try the script below.
(No warranty, batteries not included)
https://gist.github.com/benpage26/f9ca98a317660ab99aa3f8ea223b2051
- Derek L.6New member | Level 1
If I select to "link & share" a folder I am sending to Client A, can all my other clients (with links to their own folders) also see Client A's folder? (even though it's nothing to do with them!). Clients don't always have Dropbox on their computers so I "link" them. It's just a security question I was worried about.
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
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!