Skip to content
/ trash Public

A command-line program to trash files instead of permanently deleting them.

Notifications You must be signed in to change notification settings

charpov/trash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

trash

A command-line program to trash files instead of permanently deleting them.

There are a few of those floating around, but this one has given me satisfaction for many years, so I thought I'd share. On macOS, it uses the Finder to actually trash; on other systems, it simply renames and moves files to what is guessed as a suitable trash location. Because I sometimes combine find with trash, I wrote the program so it can handle an extremely large number of files on the command-line.

The program is used as:

trash [-q | --quiet] [files and dirs...]

trash invokes trash.py on macOS. Both scripts should reside in the same location.

About

A command-line program to trash files instead of permanently deleting them.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published