shred This is a golang libary to mimic the functionallity of the linux shred command Usage package main import ( "github.com/lu4p/shred" ) func main(){ shredconf := shred.Conf{Times: 1, Zeros: true, Remove: false} shredconf.Path("filename") }