trash - send files to trash and restore from trash
-d debug on -h help -v version and exit -r restore (file must be in trash dir) -e empty trash -s stats, how many files in trash, etc -q quiet
To trash..
trash ~/badfile.txt
Restore..
trash -r /tmp/trash/home/myself/badfile.txt
File::Trash - parent package.
Leo Charre leocharre at cpan dot org
This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself, i.e., under the terms of the "Artistic License" or the "GNU General Public License".
This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the "GNU General Public License" for more details.
To install File::Trash, copy and paste the appropriate command in to your terminal.
cpanm
cpanm File::Trash
CPAN shell
perl -MCPAN -e shell install File::Trash
For more information on module installation, please visit the detailed CPAN module installation guide.