fixcat

A UNIX shell executable file (.sh) that rebuilds a corrupt catalog.dat file.

Syntax:

fixcat.sh path-to-corrupted-catalog path-to-new-catalog.dat

Parameters:

path-to-corrupted-catalog
The path to the catalog file that is corrupt.
path-to-new-catalog.dat
The path and file name of the rebuilt catalog.dat file.

Comments:

As you will want to rebuild a catalog.dat file in the same location as the corrupted file, rename the corrupted file before running fixcat.

Example:

mv /myFiles/CATALOG.DAT /myFiles/CATALOG.DAT.bkup
fixcat.sh /myFiles/CATALOG.DAT.bkup /myFiles/CATALOG.DAT