Saturday, March 28, 2009

Usage trend of trash-cli

This graph reports the usage trend of trash-cli as showed in the Debian popularity statistics page for trash-cli.

Thursday, March 26, 2009

A new release is out 0.11.0

This release fixes a serious bug of trash-put, now entries "." and ".." are skipped as described in the POSIX specification of the rm command.

You can install with `sudo easy_install trash-cli`, if this doesn't works because it fails to download Unipath follow the instruction in [1]

[1] http://stackoverflow.com/questions/671542/do-you-have-a-copy-of-unipath-0-2-0-tar-gz

Monday, March 23, 2009

Resolved a serious design flaws of trash-cli

A serious design flaws was corrected on trash-put command.

The problem arise when you try to trash all hidden files from a directory.
You may tempted to do something like this: `traash-put dir/.*`. Don't do this!! (the typo is intentional). If you do this with a version before the trash-cli-0.11.0.dev-r215.tar.gz you can lose some of your data.

The problem is that "dir/.*" is expanded by the shell in '.', '..', and others filenames. Before the bug fixing trash-put tries to delete the '.' and '..' directories.

Fortunately the bug was reported (thanks to garciamx) and fixed (thanks to me :-).

You can install the latest version of trash-cli with:

easy_install trash-cli