Skip to content
/ sharea Public

Yet another tool for syncing files via cloud (Google Drive so far)

License

Notifications You must be signed in to change notification settings

den1s0v/sharea

Repository files navigation

Sharea: Sharing area

Yet another tool for syncing files via cloud (Google Drive so far)

Features

  • Sync folders/files you modify frequently between your workstations (e.g. home and office).
  • Optionally encrypt contents of whole shared folder.
  • Configure precisely which files are to sync and which are not within each shared folder by using filters.
  • Staging area is used to mirror shared files locally, so you can merge any incoming changes into your local files manually or just replace everything (be careful, this canot be undone!).

Status

Alpha, first experiments.

Requirements

adict
fs
fs.googledrivefs
google-api-python-client
google-auth-httplib2
google-auth-oauthlib
pyzipper
pyyaml

Concepts

(TODO: picture)

High-level operations (using some terms of version control systems, e.g. Git):

  • local area : working tree, live files.
  • staging area : temporary area, mirroring remote area
  • remote area : cloud content.

Commands:

  • fetch (from remote to staging area)
  • rewrite (from staging area to local area, Dangerous! May cause data loss!)
  • pull = fetch + rewrite
  • stage (from local area to staging area)
  • push (from staging area to remote)
  • dump = stage + push

The terminology is inspireg by common Git commands, but the semantics is a bit different.

Normal everyday workflow:

  1. come to office
  2. fetch!
  3. manually compare and bring changes to local area (rewrite! may be used if no local changes discovered)
  4. update files in local area (do work)
  5. dump!
  6. go home
  7. repeat steps 1..4 at home

About

Yet another tool for syncing files via cloud (Google Drive so far)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published