Content.spiceworksstatic.com



dropbox-restoreRestore any dropbox folder to a previous state. If a file did not exist at the specified time, it will be deleted.ExampleTo restore the folder "/photos/nyc" to the way it was on March 9th, 2013:python2.7 restore.py /photos/nyc 2013-03-09Note that the path "/photos/nyc" should be relative to your Dropbox folder; it should not include the path to the Dropbox folder on your hard drive. You will be prompted to confirm access to your Dropbox account through your web browser.InstallationFirst make sure that Python 2.7 and pip are installed. Then install the Dropbox Python API with the following command.sudo pip install dropboxDownload restore.py from GithubForkingIf you fork this project, you must obtain your own API keys from Dropbox and insert them into the APP_KEY and APP_SECRET fields.TimeSpecifying a time is not officially supported because the time zone is ignored currently. However, it seems like Dropbox always uses UTC, so you can try specifying UTC times at your own risk by specifying the date and time in the format YYYY-MM-DD-HH-MM-SS on the command line. Be warned that Dropbox's documentation does not guarantee that they will always use UTC, so this can break at any time. ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download