Batch restoring files in Dropbox recursively (Dropbox Time Machine)

When you are sharing a Dropbox folder with a lot of different people at one point someone will eventually delete the shared folder through his/her file manager instead of dropbox, resulting in having half of the files in the subdirectories being gone.

As this got so annoying for my use case I wrote a little app to be able to restore these type of things easily. Simply specify the time range (max 24 hours) when the files were deleted and the app will recursively restore all the files from that directory.

Interested? Give it a try here:
Source can be found here:

Bookmark and Share


About Rick van Hattem

Rick van Hattem is a Dutch Internet entrepreneur and co-founder of

5 Responses to “Batch restoring files in Dropbox recursively (Dropbox Time Machine)”

  1. Michael | 2013-11-01 at 14:19:17 #

    Very cool script, extremely useful!

  2. Martin | 2014-12-31 at 19:50:41 #

    Thank you so much for this – it is waaay beyond helpful!! Can’t believe that Dropbox folks do not offer something like this themselves.

  3. Mayeulk | 2015-03-09 at 18:47:26 #

    Thanks for my mp3 collection!

  4. Jerry | 2015-05-31 at 22:21:40 #

    Lost 2000+ files to cryptovirus on 5/20/2015. Would I be able to delete those and use your code to revert back to version prior to encryption? Thanks!

    • Rick van Hattem | 2015-06-01 at 11:10:57 #

      That’s possible assuming the cryptolocked files haven’t synced to Dropbox yet, the current version only restores files that were deleted in a certain period.

      It could be extended to support restoring files which were modified in a certain period, but it can’t for the time being. Let me know if you need it, I can fix it but it will probably take me a week as I don’t have too much time available right now.

Leave a Reply