Logo

"Oh bliss, bliss and heaven!
Oh it was georgeousness and georgeosity made flesh, it was like a bird of rarest spun heaven metal, or like silvery wine flowing in a spaceship...
Gravity all nonsense now as I slooshied I knew such pretty pictures!"

S. Kubrick, A Clockwork Orange

5/20/2012 - 12:55:53 ::: it_IT

::: Scananza Home > Projects > Console Thrasher




ts: a Console Thrasher for the Unix shell

A program to trash files in the Unix shell, it's written in C, and although incomplete (it works only with files for now), it's quite stable and useful.

Warning: This program is free, under GPL license, in the hope it can be useful, but without any warranty: I won't be, in any way, responsable for any damage related to it, if you proceed with the download it means you accept this condition; I never had troubles with the program but that doesn't mean you could experience lots.

Last stable release: 0.2.2


Features

It can trash files of any size in a directory (default /opt/trash symlinked to /trash, this directory is created by the installation process and can be modified editing the Makefile).

It can show trash content indicating, for any file, its original path and if it doesn't exsist anymore.

It can restore files to original locations, if the path doesn't exsist it can be rebuilt (having the right permissions), or the file can be restored to current directory or another directory specified by the user.

It can empty trash or single files in trash.

Note: For now the program can only trash files, future versions will trash directories also but I have to complete the "file trash" first.


Install

Download last stable version here.

Explode the archive ($ tar xjvf ts-x.x.x.tar.bz2 or $ tar xzvf ts-x.x.x.tar.gz) and cd to the top dir ($ cd ts-x.x.x)

Edit the Makefile modifying the path ($INSTALLBASE) and the trash directory ($TRASHBASE) to suite your setup.

A $ make will compile the program.

From root a # make install will install the binary wit h a shared lib, a header and a man page; trash directory will be created, if it doesn't exsist.

From root a # make uninstall will remove everything except trash directory, to keep its content when upgrading.


Bugs

One bug open: it's not yet possible to trash files whose names have spaces inside.

If you have found a bug please let me know here, thanx!


Download

Last stable release:

Bzip2 Archive (tar.bz2):

ts-0.2.2.tar.bz2

Gzip Archive (tar.gz):

ts-0.2.2.tar.gz





- Themes - Home - About - Projects - Books - Guestbook - Contacts -





Valid HTML 4.01!


::: ts-en.php, last modified: 11/18/10 - 21:21:12