Home/Docs/Purge Missing Files

Purge Missing Files Utility

Overview

The Purge Missing Files utility helps maintain database integrity by identifying and removing entries for files that no longer exist on your storage devices.

Purge Utility Interface

This utility is especially useful when you've moved, deleted, or reorganized your photos, ensuring your database only references files that are actually available.

When to Use

The Purge utility should be used in these situations:

After Moving or Reorganizing Photos

If you've relocated your photo library or changed your folder structure, some photo paths may no longer be valid.

After Deleting Photos

When you've deleted photos but their entries remain in the Tag-AI database.

When Storage Media Changes

If you've moved photos to a different drive, external storage, or new computer.

When Search Shows Missing Files

If search results include photos that can't be displayed because they no longer exist at the recorded path.

Regular Maintenance

As part of regular database maintenance, particularly for large libraries.

It's recommended to run the Purge utility periodically (every few months) if you actively manage your photo collection outside of Tag-AI.

Accessing the Purge Utility

To open the Purge utility:

  1. In the Tag-AI main window, click on Actions in the menu bar
  2. Select Purge from the dropdown menu
  3. The Purge Missing Files window will open

Using the Purge Utility

Scanning for Missing Files

  1. Click the Scan button to begin checking all file paths in the database
  2. The utility will verify each file's existence on disk
  3. Progress will be displayed in the status bar
  4. When complete, a list of missing files will be displayed
Scan Results with Missing Files

Processing Missing Files

For each missing file, you have several options:

Individual Processing

Batch Processing

Understanding Results

Missing File Types

Files may be missing for various reasons:

Removal Impact

When you remove a missing file entry:

Batch Processing

When to Use Remove All

The "Remove All" option is best when:

When to Use Skip All

The "Skip All" option is best when:

The "Remove All" action cannot be undone. If you're unsure, process files individually or back up your database first.

Important Considerations

External and Network Drives

Before running the Purge utility:

Database Backup

It's recommended to back up your database before performing a large purge operation.

Performance Impact

For large libraries:

Troubleshooting

Purge Utility Not Finding Missing Files

If the utility reports no missing files but you know some should be missing:

Files Still Appearing After Purge

If purged files still appear in search results:

Utility Performance Issues

If the utility is running very slowly:

Database Errors During Purge

If database errors occur during the purge operation: