bitrot/README.rst

74 lines
1.7 KiB
ReStructuredText
Raw Normal View History

2013-01-16 11:28:25 +01:00
======
bitrot
======
Detects bit rotten files on the hard drive to save your precious photo and
music collection from slow decay.
2013-01-17 15:01:22 +01:00
Usage
-----
Go to the desired directory and simply invoke::
$ bitrot
This will start digging through your directory structure recursively indexing
2013-01-17 15:59:29 +01:00
all files found. The index is stored in a ``.bitrot.db`` file which is a SQLite
3 database.
2013-01-17 15:01:22 +01:00
Next time you run ``bitrot`` it will add new files and update the index for
files with a changed modification date. Most importantly however, it will
report all errors, e.g. files that changed on the hard drive but still have the
same modification date.
All paths stored in ``.bitrot.db`` are relative so it's safe to rescan a folder
after moving it to another drive.
2013-01-17 15:01:22 +01:00
Performance
-----------
Obviously depends on how fast the underlying drive is. No rigorous performance
tests have been done. For informational purposes, on my typical 5400 RPM laptop
hard drive scanning a 60+ GB music library takes around 20 minutes. On an OCZ
Vertex 3 SSD drive ``bitrot`` is able to scan a 100 GB Aperture library in
under 10 minutes. Both tests on HFS+.
2013-01-16 11:28:25 +01:00
Change Log
----------
0.4.0
~~~~~
* renames are now reported as such
* all non-regular files (e.g. symbolic links, pipes, sockets) are now skipped
* progress presented in percentage
2013-02-26 15:44:51 +01:00
0.3.0
~~~~~
* ``--sum`` command-line argument for easy comparison of multiple databases
2013-02-12 09:57:58 +01:00
0.2.1
~~~~~
* fixed regression from 0.2.0 where new files caused a ``KeyError`` exception
0.2.0
~~~~~
* ``--verbose`` and ``--quiet`` command-line arguments
* if a file is no longer there, its entry is removed from the database
2013-01-17 15:01:22 +01:00
0.1.0
~~~~~
* First published version.
2013-01-16 11:28:25 +01:00
Authors
-------
Glued together by `Łukasz Langa <mailto:lukasz@langa.pl>`_.