General Topics

IntegrityCheckerJava

DiskTester

MemoryTester

IntegrityChecker

dgl

Tips and How-To

Troubleshooting

IntegrityChecker java (icj): Command Line Usage Tips

Quick intro — drag-and-drop

Most people are not comfortable with the command line. It is simple to use.

  1. Open a Terminal window (/Applications/Utilities/Terminal).
  2. Type "icj" followed by a space followed by the command (e.g. verify or update).
  3. Type a space after the command, then drag anything into the Terminal window from the Finder (a folder or multiple folders, or a volume or even multiple volumes).
  4. Press the RETURN or ENTER key.

In step #3, you can also type in the desired item(s) instead.

Usage tips

Overview of commands

Typing "icj" or "icj help" in Terminal will show this summary.

diglloyd-MacPro:MPG lloyd$ icj
...
Available commands:
verify      verify hash values
status summarize files that are new, or of changed size or date: options --ignored
update update new and date/size changed files, forget missing items: options --hmode icj|icjh|both
update-all update hash values for all files, whether or not they already have hashes: options --hmode icj|icjh|both
update-new update only files lacking hash values: options --hmode icj|icjh|both
clean remove hash data files: options --kind=ic|icj|icjh|all
compare compares two folders for equality
dupes show duplicate files, emit remove or cloning commands: options --size=<size> --types=type[,type]* --emit=<rm|clone|symlink|nop>
empty show empty files
pref open preferences eg open ~/.icj_prefs
sha test hashing speed: options --size <size> --repeat <num> --sha <SHA-512|SHA1>
version display the version and other information
help show help summary, or show help for specific command eg 'help verify'

Example commands

Lines that start with "#" are comments. These examples assume a folder called MyStuff and a volume (entire drive) called Work.

# ensure that hashes exist for all files on volume Work
icj update Work # ensure that hashes exist for all files in folder MyStuff icj update MyStuff # ensure that hashes exist for all files in folder /Volumes/Work/Photos icj update /Volumes/Work/Photos