Metadata-Version: 1.1
Name: restorething
Version: 0.1.0
Summary: restorething is a tool for restoring files from a syncthing versioning archive
Home-page: https://github.com/madmickstar/restorething
Author: Mick Shine
Author-email: madmixtar@gmail.com
License: MIT License



Copyright (c) 2016 restorething



Permission is hereby granted, free of charge, to any person obtaining a copy

of this software and associated documentation files (the "Software"), to deal

in the Software without restriction, including without limitation the rights

to use, copy, modify, merge, publish, distribute, sublicense, and/or sell

copies of the Software, and to permit persons to whom the Software is

furnished to do so, subject to the following conditions:



The above copyright notice and this permission notice shall be included in all

copies or substantial portions of the Software.



THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR

IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,

FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE

AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER

LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,

OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE

SOFTWARE.
Description: Restorething

        ============

        ``restorething`` is a tool for restoring files from a syncthing verisoning directory. Supply ``restorething`` the path to the syncthing versioning directory and a date, it will index the available files in the versioning directory and restore based on the date supplied.

        

        

        Restore Modes

        -------------

        ``restorething`` will restore files using the following modes

        

        * Nearest file before a specific date/time

        * Nearest file after a specific date/time

        * Nearest file before/after a specific date/time

        

        ``restorething`` has filtering options

        

        * Filter files with specific string

        * Filter dir with specific string

        

        

        Installation

        -------------

        ``restorething`` from source

        

        .. code:: bash

        

            $ python setup.py sdist

            $ pip install dist\restorething-x.x.x.tar.gz

        

        

        ``restorething`` from PyPI

        

        .. code:: bash

        

            $ pip install restorething

        

        

        Usage

        -----

        In all of the following cases, if no hour is supplied the default time value is set to 23:59:59.

        

        Restore closest file before 6am 15th August 2016, if no file is found ``restorething`` will look for the closet file after 6am 15th August 2016.

        

        .. code:: bash

        

            $ python -m restorething 20160815 -vd sync/.stversions -hr 6

        

        Restore closest file after 6am 15th August 2016, if no file is found, no file will be restored.

        

        .. code:: bash

        

            $ python -m restorething 20160815 -vd sync/.stversions -hr 6 -a

        

        Restore closest file before 6am 15th August 2016, if no file is found, no file will be restored.

        

        .. code:: bash

        

            $ python -m restorething 20160815 -vd sync/.stversions -hr 6 -b

        

        Restore closest file no more than 10 hours before 6am 15th August 2016, if no file is found ``restorething`` will look for the closet file no more than 10 hours after 6am 15th August 2016.

        

        .. code:: bash

        

            $ python -m restorething 20160815 -vd sync/.stversions -hr 6 -pm 10

        
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Utilities
