Skip to content

CheckFileIntegrity

Abyss Morgan edited this page Sep 14, 2024 · 5 revisions

These tools are used to create a database with which we can verify the integrity of files by check checksum, check if file exists in database or is missing on disk.

First steps:

  • Create pattern
  • Generate guard

Create pattern

This tool make pattern for check file integrity.

Data entered:

  • Input folder: Parent of container containing files and folders you want to add
  • Output folder: Folder where you want save pattern.ngc-pat file (may be same as input)
  • Name of pattern file (without extension)
  • Folders (one or multiple, you can add more after confirm due to console limitations)
  • Files (one or multiple, you can add more after confirm due to console limitations)

Generate guard

This tool make database for check file integrity.

Data entered:

  • Pattern: .ngc-pat file

Rules:

  • Database is saved into input folder

Check integrity

This tool check files integrity and print log with informations.

Data entered:

  • Guard: .ngc-guard

Rules:

  • .ngc-guard must be placed into input folder.

Config:

Get files tree

This tool print all information contained inside .ngc-guard file and write this to data file.

Data entered:

  • Guard: .ngc-guard

Rules:

  • .ngc-guard must be placed into input folder.

Update guard: Remove missing files

This tool update .ngc-guard and remove missing files from database.

Data entered:

  • Guard: .ngc-guard

Rules:

  • .ngc-guard must be placed into input folder.

Update guard: Add unknown files

This tool update .ngc-guard and unknown files from database.

Data entered:

  • Guard: .ngc-guard

Rules:

  • .ngc-guard must be placed into input folder.

Update guard: Update changed files

This tool update .ngc-guard and update checksum for changed files.

Data entered:

  • Guard: .ngc-guard

Rules:

  • .ngc-guard must be placed into input folder.

Update guard: Update missing + unknown

This tool update .ngc-guard and add unknown and remove missing files from database.

Data entered:

  • Guard: .ngc-guard

Rules:

  • .ngc-guard must be placed into input folder.

Informations:

Additional configuration

- Tools:

Clone this wiki locally