Skip to content
/ ensurecp Public

File copying with hash checking, based on go standard library.

License

Notifications You must be signed in to change notification settings

marhi/ensurecp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ensurecp

Recursive file copying with checksum checking and JSON log output.

Example

package main

import (
	"github.com/marhi/ensurecp"
	"log"
	"fmt"
)

func main() {
	ensurecp.SetLogging(true)
	err := ensurecp.RCopy("/home/marhi/Work", "/tmp/gotest2")
	if err != nil {
		log.Fatalln(err)
	}

	fmt.Println(ensurecp.ExportLog())
}

About

File copying with hash checking, based on go standard library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages