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: http://dropbox.wol.ph/
Source can be found here: https://github.com/WoLpH/dropbox-time-machine/
Very cool script, extremely useful!
Thank you so much for this – it is waaay beyond helpful!! Can’t believe that Dropbox folks do not offer something like this themselves.
Thanks for my mp3 collection!
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!
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.