Skip to content

a Go library to sync putio remote files to a local directory

Notifications You must be signed in to change notification settings

jjdd12/putioSync

Repository files navigation

putioSync

Build Status Quality Gate Status

A Go library to sync files from a remote Put.io account to a local directory
It allows you to set a ttl for local files and the age of the files you want to import

Usage

package main

import (
	"github.com/mitchellh/go-homedir"
	"log"
)
import "github.com/jhony/putioSync"

func main() {
	home, _ := homedir.Dir()
	config,err := putioSync.LoadConfig( home +"/.config/putioSync.json")
	if err != nil {
		log.Fatal("There was an issue loading te config", err)
	}
	putioSync.Sync(config)
}

About

a Go library to sync putio remote files to a local directory

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages