Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lu4p/shred

This is a libary to mimic the functionallity of the linux shred command.
https://github.com/lu4p/shred

go golang golang-library shred shredder shredding-files

Last synced: 3 months ago
JSON representation

This is a libary to mimic the functionallity of the linux shred command.

Awesome Lists containing this project

README

        

[![GoDoc](https://godoc.org/github.com/lu4p/shred?status.svg)](https://godoc.org/github.com/lu4p/shred)
[![License](https://img.shields.io/github/license/lu4p/shred.svg)](https://unlicense.org/)
[![Go Report Card](https://goreportcard.com/badge/github.com/lu4p/shred)](https://goreportcard.com/report/github.com/lu4p/shred)
# shred
Package shred is a golang library to mimic the functionality of the linux `shred` command

## Usage
```golang
package main
import (
"github.com/lu4p/shred"
)

func main(){
shredconf := shred.Conf{Times: 1, Zeros: true, Remove: false}
shredconf.Path("filename")
}
```

## Installation
```
go get -u github.com/lu4p/shred
```