##Data dumper go exp

###build

GIT_COMMIT=$(git rev-list -1 HEAD) && go build -ldflags "-X main.version=$GIT_COMMIT" -o DDumper main.go

###build for Windows

GIT_COMMIT=$(git rev-list -1 HEAD) && GOOS=windows;GOARCH=386 go build -o DDumper.exe main.go

###lock file using lockfile

lockfile /path/to/your.file

###lock file for Windows

powershell -ExecutionPolicy ByPass -File C:\tmp\lockfile.PS1 -file C:\tmp\data\1in/01.jpg