Chapter 8: Batch Operations
Photocatalyst provides efficient batch operation tools to help you process multiple photos simultaneously.
8.1 Cross-Page Selection
Cross-page selection is Photocatalyst's core batch operation mechanism, allowing selections to persist across different views.
Enabling Cross-Page Selection
Click the layer icon at the top of the sidebar to enable cross-page selection mode.
Selection Methods
| Action | Method | Description |
|---|---|---|
| Single Select | Click photo | Select/deselect a single photo |
| Multi-Select | Ctrl + Click | Add to existing selection |
| Range Select | Shift + Click | Select all photos between two clicks |
| Select All | Select All button | Select all photos on the current page |
| Clear Selection | Clear button | Deselect all |
Status Bar Display
After enabling cross-page selection, the status bar displays:
- Current Page Selected: Number selected in the current view
- Cross-Page Total: Cumulative total selected across all pages
- Click to view the detailed selection list
- Supports removing specific photos from the selection list
Typical Usage Scenarios
- Collect interesting photos across various views
- Switch to a target page for batch operations
- Perform export, album creation, and other operations in one go
8.2 Batch Delete & Restore
Batch Soft Delete (Move to Recycle Bin)
- Select multiple photos
- Right-click menu → Move to Recycle Bin (or the toolbar batch button)
- Confirm deletion
- Photos are moved to the Recycle Bin and can be restored
Batch Restore
In the Recycle Bin view:
- Select photos to restore
- Click the Restore button
- Photos are restored to their original locations
Delete from Hard Drive
- Select photos
- Right-click → Delete from Hard Drive
- After confirmation, photo files are moved to the operating system's Recycle Bin
8.3 Batch Rename
The batch rename feature supports both template variables and regular expression modes.
Entering Batch Rename
- Select multiple photos
- Right-click menu → Edit → Rename
- Open the rename dialog
Template-Based Renaming
Available Template Variables:
| Variable | Description | Example Output |
|---|---|---|
{filename} | Original filename (without extension) | IMG_0001 |
{file_stem} | Filename stem | IMG_0001 |
{ext} | File extension | .jpg |
{album} | Album name | Travel Album |
{location} | Shooting location | Shanghai |
{person} | Person name | John |
{camera} | Camera model | Canon EOS R5 |
{tag} | Tag information | Landscape |
{index} | Sequence number (starting from 1) | 1, 2, 3 |
{year} | Shooting year | 2024 |
{month} | Shooting month | 03 |
{day} | Shooting day | 15 |
{hour} | Shooting hour | 14 |
{minute} | Shooting minute | 30 |
{second} | Shooting second | 05 |
Common Template Examples:
| Template | Result |
|---|---|
{year}-{month}-{day}-{filename} | 2024-03-15-IMG_0001.jpg |
{year}-{album}-{index} | 2024-Travel Album-1.jpg |
{location}-{filename} | Shanghai-IMG_0001.jpg |
{person}-{year}-{index} | John-2024-1.jpg |
Empty Field Handling:
When a template variable has no corresponding data (e.g., {location} is empty when there is no GPS information), you can choose:
- Keep as Is: Empty fields retain the template text
- Use Unknown: Empty fields display "Unknown"
Regular Expression Renaming
Used for batch find-and-replace on existing filenames:
Basic Mode:
- Select the regular expression mode
- Enter the search expression
- Enter the replacement text
- Use
$1,$2, etc. to reference capture groups
Regex Options:
- Ignore Case: Case-insensitive matching
- Global Replace: Replace all matches (not just the first)
Common Regular Expressions:
| Expression | Description |
|---|---|
. | Match any character |
\d | Match a digit |
\w | Match a letter or digit |
\s | Match whitespace |
+ | One or more occurrences |
* | Zero or more occurrences |
{n} | Exactly n occurrences |
{n,m} | n to m occurrences |
() | Capture group |
Rename Preview
Before confirming execution, the system displays a rename preview:
- Shows original filename → new filename line by line
- Supports sorting by original or new filename
- Highlights filename differences
- Option to set whether to overwrite existing filenames
8.4 Batch Export
Selecting Photos
- Use cross-page selection to collect photos for export
- Or select photos in select-all mode
Configuring Export
- Right-click menu → Export (or the toolbar export button)
- Configure export parameters (see Chapter 9)
- Choose the target folder
- Confirm export
Export Progress
- Real-time export progress display
- Supports large batch exports
- Error handling and retry mechanism
8.5 Batch AI Analysis
You can run AI analysis on selected photos:
- Select multiple photos
- Right-click menu:
- Tools → Group by Similarity / Group by Semantic
- Edit → OCR Recognition
- Wait for analysis to complete
- View the grouping results
8.6 Batch Tag Operations
Batch Add Tags
- Select multiple photos
- Right-click menu → Edit → Write Tags
- Enter or select tags
- Confirm to add
Next: Read Chapter 9 to learn about export and sharing features.