Skip to content

buraksekili/safe-trash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

safe-trash

"safe-trash" is a safe way of running the rm command. Deleted files are moved to ~/.safe-trash folder from the current folder.

Usage

-l, --list      List the files under the current directory.
<FILE_NAME>     The filenames to be deleted. Multiple filename is allowed.
-h, --help      Displays this help message.

How to run?

Ensure that your Go variables set properly. If your go env variables are set properly, you can run sh install_go.sh or bash install_go.sh to use safe-trash as;

$ sh install_go.sh
$ safe-trash server.py

Or, you can;

$ go build -o $GOPATH/bin/safe-trash
$ safe-trash index.js

Inspiration

A simple replica of trash-cli written in Golang.

About

A safe way of running rm command

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published