Code Review request for the trash-cli project

Andrea Francia andrea.francia at no.spam.invalid
Tue Jan 6 20:45:35 CET 2009

Dotan Cohen wrote:
> 2009/1/6 Andrea Francia
> <andrea.francia at>:
>> The trash-cli project is a opensource implementation of the
> I don't know about the code, but would there be a reason _not_ to
> alias rm, rmdir to this program? 

Actually the trash-put command accept all the options of GNU rm in order
allows user doing alias rm='trash-put', but it does not accept yet some
GNU rmdir options (--ignore-fail-on-non-empty, -p, --parents).

A enhancement issue about accepting rmdir options was added to the tracker.

> I see that it is GPL, so this would
> be a great addition to any Linux distro.

It's available in some distro but many distro uses a very old version,
to gain all the advantages of the latest development version you can use:

    easy_install trash-cli

The easy_install command is provided by the python-setuptools package.

More information about the Python-list mailing list