项目作者: garenyondem

项目描述 :
Copy source file to a directory and archive
高级语言: Go
项目地址: git://github.com/garenyondem/backup-file-go.git
创建时间: 2019-02-03T20:33:03Z
项目社区:https://github.com/garenyondem/backup-file-go

开源协议:MIT License

下载


Backup File (Go)

Copies source file to destination directory and archives it with a date as a name.

Usage

  1. go build main.go

Then pass source and destination arguments respectively to binary file.

macOS and Linux

  1. ./main /Users/garenyondem/desktop/preciousFile.txt /Users/BackupFolder

Windows

  1. main.exe "C:\Users\%username%\Desktop\preciousFile.txt" "E:\BackupFolder"