Skip to main content

Detects bit rotten files on the hard drive to save your precious photo and music collection from slow decay.

Project description

Detects bit rotten files on the hard drive to save your precious photo and music collection from slow decay.

Usage

Go to the desired directory and simply invoke:

$ bitrot

This will start digging through your directory structure recursively indexing all files found. The index is stored in a .bitrot.db file which is a SQLite 3 database.

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.

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+.

Change Log

0.3.0

  • --sum command-line argument for easy comparison of multiple databases

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

0.1.0

  • First published version.

Authors

Glued together by Łukasz Langa.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bitrot-0.3.0.tar.gz (5.1 kB view details)

Uploaded Source

File details

Details for the file bitrot-0.3.0.tar.gz.

File metadata

  • Download URL: bitrot-0.3.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for bitrot-0.3.0.tar.gz
Algorithm Hash digest
SHA256 0016a8a19e3f6561adcd8eea7314d88d9b66dce4b56e28f37cd118549105281f
MD5 967d6b0995d246b831f648dbb566b5f5
BLAKE2b-256 75834beafd48e54c567f376e9437d01dabe659b456b71aecb6475db1a318e442

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page