---
title: Match URLs to existing files from the CLI
date: 2026-08-24
description: CLI imports can now reuse existing store files by filename instead of uploading duplicates, matching the web import option.
tags: ["Altera CLI","Imports","Files"]
categories: ["Changelog"]
url: https://www.getaltera.com/changelog/2026-08-24-cli-match-urls-to-existing-files/
---


CLI version 0.4.22 brings the **Match URLs to existing files** import option to the command line, so scheduled imports don't fill your Files library with duplicates.

---

### 🚀 What's New

- **`--match-urls-to-existing-files`** - `import create` can now match media URLs to files already on your store by filename, so re-imports reuse them instead of uploading copies (see [option details](https://support.getaltera.com/en/articles/11490237-file-fields#match-urls-to-existing-files)).

This is handy for recurring imports from a PIM or another external system: image URLs that point outside your store are normally downloaded on every run, and the option keeps those re-runs from creating duplicate files that count against your storage.

