Skip to main content

A (very) simple file versioning system

Project description

# quicksave

A (very) simple file versioning system

__Version:__ 1.1.0

Detailed documentation on the available commands can be found on the [quicksave wiki](https://github.com/agraubert/quicksave/wiki)

#### Getting started: The first thing you’ll need to do is create a new database: ` $ quicksave init <path> ` That will setup the new database so it’s ready to use.

After that, you’re good to go. You can register new files so they’re tracked by quicksave, save new states of registered files, and revert to previously saved states. There are several other commands which modify the database itself, but I’m only covering those three commands right here (but none of their various options). For detailed documentation on all of the available commands, check out the [wiki page](https://github.com/agraubert/quicksave/wiki).

To track (AKA register) a new file in quicksave use: ` $ quicksave register <filepath> `

Which will copy the initial state of the file, and provide the names of the file and state keys you’ll need use this file.

To then save a new state of the file, use the save command: ` $ quicksave save <filepath> `

Quicksave will use the the absolute path and the base file name derived from _filepath_ to automatically decide which file key to use. For a brief description of file and state keys, see [this note](https://github.com/agraubert/quicksave/wiki#a-note-on-file-and-state-keys) on the wiki.

Lastly, to get the file back into a previously saved state, use the revert command: ` $ quicksave revert <filepath> <state> `

Again, quicksave will attempt to determine which file key to use based on the absolute path and the file name. Quicksave will lookup the provided _state_ key and revert the file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quicksave-1.1.0.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

quicksave-1.1.0-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file quicksave-1.1.0.tar.gz.

File metadata

  • Download URL: quicksave-1.1.0.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for quicksave-1.1.0.tar.gz
Algorithm Hash digest
SHA256 bf1f14fbb52a916c4f68a190f010dbfccf86c84ac07b363089cb716f0133aaf0
MD5 1da3fb3c8a790849eab44758741f6838
BLAKE2b-256 8f51c0c93d12aadaffa23e2e361c5e805c800d1fcbc3829a946c4925d0bf9937

See more details on using hashes here.

File details

Details for the file quicksave-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for quicksave-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa9e6365b682d67e37ab8823b36967bfb83a89a13b8855fc134ff1a420342389
MD5 972965777288c64bd33c8877cfd6d995
BLAKE2b-256 3d472fa6b4422d2c1c052ce073c89dff21ef0c8a8b75f730055b439117679a42

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page