Precizer 0.16.0, a command-line utility designed to check the integrity of large file trees and identify discrepancies after data synchronization, has been released. The project's code is written in C and is licensed under the GPLv3 license. Precizer builds were previously available for Linux и macOS, and the key change in the new release was experimental support Windows.
The Precizer project has been in development for over two years and is positioned as a small, fast, and convenient CLI utility for tasks where simple file metadata comparison is no longer sufficient. The program traverses a directory tree, calculates file checksums (SHA512), and stores the information in a SQLite database. Databases created for different data sources can then be compared to obtain a list of missing files, redundant files, and objects with mismatched checksums.
The primary use case involves verifying the results of synchronization of large storages, backups, and disaster recovery copies. Unlike a single run of utilities that recalculate checksums from scratch, Precizer preserves state between runs and allows for resuming lengthy operations after an interruption. This is especially important for file trees with a large number of objects or volumes measured in terabytes and petabytes, where repeating a full pass through the data after an accidental stop can become a task with no practical solution.
The possibility of using Precizer as a security control tool for detecting unauthorized changes to files is also noted, including in cases where metadata does not allow one to notice the substitution of content.
To update a previously created database, the "--update" mode is available. It allows you to add new files, remove records of missing objects, and recalculate checksums of modified files. Path filters are supported via "--ignore" and "--include" to limit the scope of scanning and comparison.
Precizer 0.16.0 ready-to-use archives are available for Linux x86_64, Linux AArch64, macOS arm64 and Windows x64. For Linux We offer portable, statically built ELF files that are not tied to a specific distribution. For building from source, you can use a regular Makefile or prepared Docker environments for AlmaLinux, Alpine, Arch, Debian, Gentoo, Rocky and Ubuntu.
The release includes two versions. Windows- assemblies: a ZIP archive with an executable file and the required DLL dependency, as well as a portable EXE file without external dependencies. WindowsThe assemblies are not yet digitally signed by the publisher. Furthermore, the portable EXE file may trigger Microsoft Defender warnings, which is typical for early unsigned binaries built outside the usual distribution chain. Windows-applications.
Source: opennet.ru
