Filter Files
Export only the files you need, using filters and conditions.Migrato allows you to export specific Shopify Files by applying filters before starting an export. This is useful when your store contains a large number of files and you only want to export files that match specific conditions.
You can filter Files using supported fields such as File Name, Type, Size MB, Status, and Created At.
How to Filter Files for Export
Follow these steps to export Files based on specific conditions.
Step 1: Open File Export
- Open Shopify Admin.
- Go to Apps → Migrato.
- Open the Export section.
- Select Files as the entity you want to export.
Step 2: Select File Fields
Select the File fields and information you want to include in the export file.
You can select the required fields based on your export requirements.
Step 3: Add File Filters
Open the Filters section and click Add New Filter.
- Select the File field you want to filter.
- Select the available condition.
- Enter or select the required value.
- Add additional filters if required.
Step 4: Review the Filters
Review all selected filter conditions before starting the export.
For example, you can create an export using:
-
Type = IMAGE
-
Status = READY
-
Size MB < 5
This allows you to export only image files that are ready and smaller than 5 MB.
Step 5: Start the Export
Once the filters have been configured:
- Review the selected fields.
- Review the filter conditions.
- Confirm the export settings.
- Start the export.
Migrato will process the export based on the selected filter conditions.
Available File Filters
Migrato currently provides the following fields in the File Filter dropdown.
| Filter | Description | Available Conditions |
|---|---|---|
| File Name | Filters Files based on the file name. | Text-based conditions |
| Type | Filters Files based on their file type. | Text-based conditions |
| Size MB | Filters Files based on their size in megabytes. | Numeric conditions |
| Status | Filters Files based on their current status. | Text-based conditions |
| Created At | Filters Files based on when they were created. | Date-based conditions |
The exact conditions available for each field depend on the current Migrato implementation.
Filter Conditions
Migrato provides different conditions depending on the selected File field.
Text-Based Conditions
| Condition | Description |
|---|---|
| Equals to any of | Exports Files where the selected field exactly matches any of the specified values. |
| Not equal to any of | Exports Files where the selected field does not exactly match any of the specified values. |
| Contains any | Exports Files where the selected field contains any of the specified values. |
| Contains none | Exports Files where the selected field does not contain any of the specified values. |
| Contains | Exports Files where the selected field contains the specified text. |
| Does not contain | Exports Files where the selected field does not contain the specified text. |
Date-Based Conditions
| Condition | Description |
|---|---|
| On or after | Exports Files created on or after the selected date. |
| On or before | Exports Files created on or before the selected date. |
| Date range | Exports Files whose creation date falls within the selected date range. |
| Relative date | Exports Files based on a relative time period, such as the last few days, weeks, or months. |
Numeric Conditions
Numeric conditions can be used with Size MB.
| Condition | Description |
|---|---|
| Equals | Exports Files where the numerical value exactly matches the specified value. |
| Less than | Exports Files where the numerical value is lower than the specified value. |
| Less than or equal to | Exports Files where the numerical value is lower than or equal to the specified value. |
| Greater than | Exports Files where the numerical value is higher than the specified value. |
| Greater than or equal to | Exports Files where the numerical value is higher than or equal to the specified value. |
| Between | Exports Files where the numerical value falls between the specified minimum and maximum values. |
File Filter Examples
Example 1: Export Files by File Name
To export Files matching specific file names:
File Name → Equals to any of
For example:
product-banner.jpg
homepage-banner.png
Migrato will export Files whose names match the specified values.
Example 2: Export Files by Type
To export Files of a specific type:
Type → Equals to any of → IMAGE
Migrato will export Files matching the selected type.
Example 3: Export Files by Status
To export Files with a particular status:
Status → Equals to any of → READY
Migrato will export Files matching the selected status.
Example 4: Export Files Larger Than a Specific Size
To export Files larger than a specified size:
Size MB → Greater than → 5
Migrato will export Files larger than 5 MB.
Example 5: Export Files Created Within a Date Range
To export Files created during a specific period:
Created At → Date range
For example:
September 1, 2026 → September 30, 2026
Migrato will export Files created within the selected date range.
Using Multiple Filters
Migrato allows you to add multiple filters to create a more targeted File export.
For example, you can combine:
-
Type = IMAGE
-
Status = READY
-
Size MB < 5
-
Created At = Last 30 Days
This allows you to export only image Files that are ready, smaller than 5 MB, and were created during the selected period.
When using multiple filters, review each condition carefully before starting the export to make sure the resulting dataset matches your requirements.