# Golang Snippts [![Build Status](https://dev.sum7.eu/genofire/golang-snippets/badges/master/build.svg)](https://dev.sum7.eu/genofire/golang-snippets/pipelines) [![Go Report Card](https://goreportcard.com/badge/dev.sum7.eu/genofire/golang-snippets)](https://goreportcard.com/report/dev.sum7.eu/genofire/golang-snippets) [![GoDoc](https://godoc.org/dev.sum7.eu/genofire/golang-snippets?status.svg)](https://godoc.org/dev.sum7.eu/genofire/golang-snippets) ## webdav2archive Download files from webdav server and put them in order structur by mtime Get Latest Version: [Download](https://dev.sum7.eu/genofire/golang-snippets/-/jobs/artifacts/master/raw/bin/webdav2archive?inline=false&job=build-my-project) ``` Usage of webdav2archive: -e string export path on local (default "download") -f delete on download -h string address of webdav server (default "https://cloud.sum7.eu/remote.php/webdav/") -i string import path from webdave (default "AutoUpload") -p string password to auth at webdav server (use environment variable WEBDAV_PASSWORD for security reasen) -u string username to auth at webdav server (default "genofire") ```