go-trash icon indicating copy to clipboard operation
go-trash copied to clipboard

Cross-platform package to move stuff to the OS trash

go-trash - crossplatform package to move files to trash

go-trash is a cross-platform package to move files to trash. OSX, Windows and Linux (tested on Ubuntu) are supported.

Installing

go get https://github.com/laurent22/go-trash

Building

  • On Windows, it builds successfully with MinGW, in MSYS shell.

  • On OSX and Linux, it should build as is.

Documentation

http://godoc.org/github.com/laurent22/go-trash

License

MIT