Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

m-go's avatar
m-go
Helpful | Level 6
7 years ago

Bulk delete shared links

I just found that deleting all the shared links that accumulate over time isn't that easy. In fact, I have to click on each one's ellipsis and then click again on "Delete". Imagine the fun I had for all those files and folders.

May I suggest Dropbox made more use of the concept called "Checkbox", which is widely used in other parts of it's UI.

5 Replies

Replies have been turned off for this discussion
  • Lusil's avatar
    Lusil
    Icon for Dropbox Staff rankDropbox Staff
    7 years ago

    Hi there m-go, thanks for checking in with us!

    Although there isn't currently a direct option for you to remove all shared links with one click, you can check out this thread where users have suggested a few workarounds. 

    You can also post your idea here where like-minded users can share their interest and upvote. 

    Hope this helps!

  • m-go's avatar
    m-go
    Helpful | Level 6
    7 years ago

    Thanks, Lusil.

    It's funny the "accepted solution" is still a two years old JS hack created by a user.

    See, that would be OK if Dropbox was the friendly team of hackers from the garage next door. No offense to the support team, but I think it's a little embarassing for a 8bn company.

  • Steve S.86's avatar
    Steve S.86
    Helpful | Level 6
    6 years ago

    "It's funny that..."...no it is not funny at all, it's unbelievable.

     

    Still, as per the previous post, why is this hack even necessary???

    Are there so few developers in Dropbox that there is no-one to put a "Check All" checkbox??

    Are they all so busy inventing new collaborative features that no-one is asking for??

     

    I note that in the referenced thread, the jquery version worked, but not the pure javascript version posted later, as the ids and classes appear to have changed in the page.

  • greghaygood's avatar
    greghaygood
    New member | Level 2
    4 years ago

    Here's an updated snippet of code that works with the current UI:

     

    var list = document.querySelectorAll('#links-list .mc-popover-trigger')
    
    for( var index = 0; index < list.length; index++ )
    {
        var popup = list[index]
        popup.click()
        var deleteLink = document.querySelector('.delete-link')
        if (deleteLink) {
            deleteLink.click()
            document.getElementsByClassName( "button-primary dbmodal-button" )[0].click();
        }
    }
  • Dave84935's avatar
    Dave84935
    New member | Level 2
    3 years ago

    4 years on and this still isn't a native option to the UI? 🙄

About Delete, edit, and organize

Solve issues with deleting, editing, and organizing files and folders in your Dropbox account with support from the Dropbox Community.

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, Facebook or Instagram.

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!