Skip to content

macmade/trash

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

Trash

Build Status Coverage Status Issues Status License Contact
Donate-Patreon Donate-Gratipay Donate-Paypal

trash

About

trash is command-line tool for macOS, written in Swift, that moves files to the current user's trash folder.

It is compatible with the macOS rm command, so you can alias the later, and no longer worry about permanently deleting your precious files. 😉

Installation

trash can be installed with Homebrew:

brew install --HEAD macmade/tap/trash

Shell alias

You can alias the default rm command to trash, using the following line into your shell profile file:

if [ -f /usr/local/bin/trash ]; then alias rm="/usr/local/bin/trash"; fi

License

trash is released under the terms of the MIT license.

Repository Infos

Owner:          Jean-David Gadina - XS-Labs
Web:            www.xs-labs.com
Blog:           www.noxeos.com
Twitter:        @macmade
GitHub:         github.com/macmade
LinkedIn:       ch.linkedin.com/in/macmade/
StackOverflow:  stackoverflow.com/users/182676/macmade

Releases

No releases published

Packages

No packages published

Languages