Skip to main content

Storage the data files in ssh servers

Project description

https://coveralls.io/repos/juanpabloaj/gitdata/badge.png?branch=master

Storage the data files (images, data test) in remote ssh servers. In git only save a register of necessary files to current commit.

.gitdata file

SHA1 path remote_ssh:ssh_port

Example:

96e93e946f7fd810b167e34561c489ce067d7ef1 data/data2.txt
c00214008bcd3fe1f5beccdf1a63d15b158bf0b3 data/data1.txt user@server:tmp/
7a7a91f5c2b5bc1f4d294de5a6166abec5364d15 data/data0.txt user@server:tmp/:1234

Installation

pip install gitdata

Usage

Add to .gitdata file, SHA-1 and path of files contained in the directory.:

git data -a directory

Show modified files, files with modified SHA-1:

git data status

Files with ssh column are pushed to remote ssh server:

git data -p

Files with ssh column are pulled from remote ssh server, the version download is respective to the current SHA-1 in .gitdata file.:

git data -u

Show files stored in the .gitdata file:

git data -l

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

gitdata-0.0.2.tar.gz (3.4 kB view details)

Uploaded Source

File details

Details for the file gitdata-0.0.2.tar.gz.

File metadata

  • Download URL: gitdata-0.0.2.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gitdata-0.0.2.tar.gz
Algorithm Hash digest
SHA256 a611fff8c1c81d1264899e987931856df04e03cbb26440ebd71afc0a44c3ab64
MD5 df11064e416bd83971b3c39bbf4dd727
BLAKE2b-256 ab3132069047f825ebc87ec478251da3f67ff6dad5fea07a9bb61a2279dd6e57

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