Skip to content

CheckFileIntegrity

Abyss Morgan edited this page May 29, 2023 · 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.ave-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: .ave-pat file

Rules:

  • Database is saved into input folder

Check integrity

This tool check files integrity and print log with informations.

Data entered:

  • Guard: .ave-guard

Rules:

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

Config:

Get files tree

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

Data entered:

  • Guard: .ave-guard

Rules:

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

Update guard: Remove missing files

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

Data entered:

  • Guard: .ave-guard

Rules:

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

Update guard: Add unknown files

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

Data entered:

  • Guard: .ave-guard

Rules:

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

Update guard: Update changed files

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

Data entered:

  • Guard: .ave-guard

Rules:

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

Update guard: Update missing + unknown

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

Data entered:

  • Guard: .ave-guard

Rules:

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

Informations:

Additional configuration

- Tools:

Clone this wiki locally