Projects / Trash Can

Trash Can

Trash Can is a recycle bin implementation for the command line. It is a set of scripts that can be run with ksh, bash, or zsh. It has commands for file removal, file restoration (to the original path), permanent deletion of particular files from the trash can, automatic purging of trash that is more than a certain number of days old, completely emptying the trash can, configuring trash can storage capacity, and displaying trash can disk usage. Trash is compressed to take up less room.

Operating Systems

Recent releases

  •  01 Mar 2012 07:27

    Release Notes: This update fully incorporates ZSH interoperability. If you are using bash or ksh, this update is not needed. Preparation was also performed for release 4.0, which will include a Perl version of the trash utility.

    •  26 Feb 2012 06:39

      Release Notes: This release fixes a bug which caused removed directories to be stored with an invalid name in the trash bin so they could not be automatically recovered. There are no other known bugs at this time.

      •  08 Jan 2010 14:31

        Release Notes: This release fixes a problem which caused an incorrect count to be displayed to the user following a purge, and fixes a trash can list sorting problem.


        Project Spotlight


        A Fluent OpenStack client API for Java.


        Project Spotlight

        TurnKey TWiki Appliance

        A TWiki appliance that is easy to use and lightweight.