IntegrityChecker java (icj): 'verify' command
To 'verify', the items to be verified must have previously seen an update operation in order to record the hash value. Verification should be regularly performed on backups, as well as originals before backup.
The verify command performs full checks:
- Checks file contents against the validation info by hashing all files.
- Flags new files
- Flags files that have changed size and/or date.
- Flags missing files and folders.
Any number and combination of volumes or folders can be specified in a single invocation.
TIP: insight into missing files vs moved or renamed files
Please see the tip for the update command, which performs deeper analysis of files that have been moved or renamed.
Command line usage
icj verify [<path>]*
Options
--optimize HDD|SSD
--threads num
--large-buffers num
--large-buffer-size MB
Examples
Lines starting with "#" are comments.
# Verify the contents of the current directory — no arguments needed
icj verify
# Verify the contents of three folders in the curent directory
icj verify Folder1 Folder2 Folder3
# Verify the contents of volume “Master”
icj verify Master
# Verify Documents folder in your home directory:
icj verify ~/Documents
# Verify all volumes whose name includes "Clone" (macOS path form)
icj verify /Volumes/*Clone*
# force to assume hard drive, reduce threads and buffers accordingly:
icj verify --optimize HDD MyData
# control the CPU and memory usage (2 hashing threads, 4 large buffers of 8MB each)
icj verify --threads 2 --large-buffers 4 --large-buffer-size 8M MyData
Copyright © 2022 diglloyd Inc, all rights reserved