Rifiuti2

From aldeid
Jump to navigation Jump to search

Description

Rifiuti2 is a rewrite of rifiuti, a tool that analyzes Windows Recycle Bin INFO2 file. Some of the features provided by rifiuti2:

  • Supports Windows file names in any languages
  • Supports Vista and Windows 2008 (no more uses INFO2 file)
  • Enables localization (that is, translatable) by using glib
  • More rigorous error checking
  • Supports output in XML format

Installation

Pre-requisites

$ sudo aptitude install libglib2.0-dev

Compilation

$ wget https://rifiuti2.googlecode.com/files/rifiuti2-0.5.1.tar.gz
$ tar xzvf rifiuti2-0.5.1.tar.gz
$ cd rifiuti2-0.5.1/
$ ./configure
$ make

Installation

Optionnaly install it:

$ sudo make install

Usage

Usage

rifiuti [OPTION...] FILE

Options

Help Options

-h, --help
Show help options
--help-all
Show all help options
--help-text
Show plain text output options

Application Options

-o, --output=FILE
Write output to FILE
-x, --xml
Output in XML format (-t, -n, -l, -8 options will have no effect)
--from-encoding=ENC
The assumed file name character set when no unicode file name is present in INFO2 record (mandatory if INFO2 file is created by Win98, useless otherwise)

Example

$ ./rifiuti /data/tmp/RECYCLER/S-1-5-21-863600151-1056161229-2478320069-323743/INFO2
Recycle bin file: '/data/tmp/RECYCLER/S-1-5-21-863600151-1056161229-2478320069-323743/INFO2'
Version: 5

Index	Deleted Time	Gone?	Size	Path
1	2013-03-11 09:58:07	Yes	13991936	C:\Program Files\prog\Docs\Dépannage (FR).doc
2	2013-03-12 08:04:57	Yes	22298624	C:\Program Files\prog\Docs\Adapatation (FR).doc

Comments