cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to know all about tools for creatives that work seamlessly with Dropbox, like Adobe? Well, check it out right here!

Dropbox installs & integrations

Connect your tools and content together with help from the Dropbox Community. Join a discussion or post a question of your own to get started.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Automation

Automation

drinkboxxer
New member | Level 2

Hi, I'm trying to create a rule that if folder is empty , then delete.

Can't find options on dropbox. Does someone know how I could achieve this?

 

Thanks,

4 Replies 4

Re: Automation

Walter
Dropboxer
Hey @drinkboxxer, welcome to the Community and happy Friday!

As you've found out, this isn't something you could do through our website or desktop app at this time. 

If you're a developer though, you may be able to find a way to do this through our APIs.

I hope this helps!

Walter
Community Moderator @ Dropbox
dropbox.com/support


Heart Did this post help you? If so, please give it a Like below.
:arrows_counterclockwise: Still stuck? Ask me a question!
:pushpin: Tips & Tricks Find new ways to stay in flow or share your tips on how you work smarter with Dropbox.

Re: Automation

drinkboxxer
New member | Level 2

Hi, 

Thanks for the reply. Do you have any directives / tips on the quickest way to do it through APIs?

 

Thanks,

Re: Automation

Walter
Dropboxer

To be honest, I'm not sure about this @drinkboxxer

@Greg-DB any ideas here perhaps?


Walter
Community Moderator @ Dropbox
dropbox.com/support


Heart Did this post help you? If so, please give it a Like below.
:arrows_counterclockwise: Still stuck? Ask me a question!
:pushpin: Tips & Tricks Find new ways to stay in flow or share your tips on how you work smarter with Dropbox.

Re: Automation

Greg-DB
Dropboxer

If you're a programmer, you could write code to use the API to list the contents of an account, and delete empty folders.

 

For instance, to list the contents of any path:

And to delete a file or folder at a path:

https://www.dropbox.com/developers/documentation/http/documentation#files-delete

 

By the way, those are links to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible:

https://www.dropbox.com/developers/documentation

 

Those have corresponding native methods for the HTTPS endpoints.

 

If you're not already familiar with the API, the following guides may be helpful:

Poll
Do you work or study in the creative industry? If so, which area?
If you use Adobe, don't forget to check out our latest integrations update here.
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
  • User avatar
    Walter Dropboxer
  • User avatar
    drinkboxxer New member | Level 2
What do Dropbox user levels mean?
Need more support?