All Projects → zloylos → grsync

zloylos / grsync

Licence: MIT license
Golang rsync wrapper

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects

Labels

Projects that are alternatives of or similar to grsync

sicksync
Don’t accept the available as the preferable. Go the extra mile with extra speed.
Stars: ✭ 67 (-11.84%)
Mutual labels:  rsync
blessclient
Go client to negotiate SSH certificates
Stars: ✭ 58 (-23.68%)
Mutual labels:  rsync
cephgeorep
An efficient unidirectional remote backup daemon for CephFS.
Stars: ✭ 27 (-64.47%)
Mutual labels:  rsync
rsync4j
Simple Java wrapper for rsync for Linux, OSX and Windows.
Stars: ✭ 77 (+1.32%)
Mutual labels:  rsync
adlibre-backup
High performance rsync backup utilising BTRFS / ZFS filesystem features
Stars: ✭ 35 (-53.95%)
Mutual labels:  rsync
BaNG
Backup Next Generation for Linux & Mac using rsync (support hardlinks and btrfs snapshots), Web-Frontend, Statistics, History-Merger)
Stars: ✭ 28 (-63.16%)
Mutual labels:  rsync
action-rsyncer
Rsync GitHub Action
Stars: ✭ 50 (-34.21%)
Mutual labels:  rsync
script
same script
Stars: ✭ 13 (-82.89%)
Mutual labels:  rsync
dired-rsync
Support for rsync from Emacs dired buffers
Stars: ✭ 93 (+22.37%)
Mutual labels:  rsync
irsync
rsync on interval, via command line binary or docker container. Server and IOT builds for pull or push based device content management.
Stars: ✭ 19 (-75%)
Mutual labels:  rsync
python-rsync-system-backup
Linux system backups powered by rsync
Stars: ✭ 45 (-40.79%)
Mutual labels:  rsync
time-travel
An rsync based backup script which only transfers modified files. Smooth integration into OSX Notification Center.
Stars: ✭ 43 (-43.42%)
Mutual labels:  rsync
btrfs-backup
A simple, flexible script for versioned backups using btrfs and rsync
Stars: ✭ 59 (-22.37%)
Mutual labels:  rsync
planb
PlanB - automating remote backups and snapshots with zfs/rsync
Stars: ✭ 24 (-68.42%)
Mutual labels:  rsync
autorsync
Node.js File Watch + rsync
Stars: ✭ 56 (-26.32%)
Mutual labels:  rsync
rsync-static
Static RSync binaries compiled for x86, ARM, and ARM64. Useful for running on Android. Built daily
Stars: ✭ 40 (-47.37%)
Mutual labels:  rsync
rsync
gokrazy rsync
Stars: ✭ 308 (+305.26%)
Mutual labels:  rsync
aws-upload
🌈 A delicious CLI tool for uploading files to ec2
Stars: ✭ 39 (-48.68%)
Mutual labels:  rsync
rsync2ipfs-cluster
No description or website provided.
Stars: ✭ 16 (-78.95%)
Mutual labels:  rsync
rbackup
Shell script for encrypted backups with rsync and GnuPG
Stars: ✭ 22 (-71.05%)
Mutual labels:  rsync

grsync — golang rsync wrapper

codecov GoDoc

Repository contains some helpful tools:

  • raw rsync wrapper
  • rsync task — wrapper which provide important information about rsync task: progress, remain items, total items and speed

Task wrapper usage

package main

import (
    "fmt"
    "grsync"
    "time"
)

func main() {
    task := grsync.NewTask(
        "[email protected]:/source/folder",
        "/home/user/destination",
        grsync.RsyncOptions{},
    )

    go func() {
        for {
            state := task.State()
            fmt.Printf(
                "progress: %.2f / rem. %d / tot. %d / sp. %s \n",
                state.Progress,
                state.Remain,
                state.Total,
                state.Speed,
            )
            <- time.After(time.Second)
        }
    }()

    if err := task.Run(); err != nil {
        panic(err)
    }

    fmt.Println("well done")
    fmt.Println(task.Log())
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].