# Sync Media Files to Anki Web if modification time is newer

**URL:** <https://forums.ankiweb.net/t/sync-media-files-to-anki-web-if-modification-time-is-newer/69035>\
**Category:** Suggestions\
**Created:** [March 1, 2026, 12:15am UTC](https://forums.ankiweb.net/t/sync-media-files-to-anki-web-if-modification-time-is-newer/69035 "2026-03-01T00:15:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![brae09](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/brae09/32/33053_2.png) [@brae09](https://forums.ankiweb.net/u/brae09)\
**Post date:** [March 1, 2026, 12:15am UTC](https://forums.ankiweb.net/t/sync-media-files-to-anki-web-if-modification-time-is-newer/69035/1 "2026-03-01T00:15:00Z")

</div>

The card type I am developing fetches a svg file via javascript and embed it in the card. The svg file name comes from a field in the card, so I can’t embed the svg code directly. The file is named with a leading underscore (like “\_scene.svg”) and stored in the collection.media folder. When I update the file though, the updates often don’t get synced to Anki Web.

I read in another thread that this was by design because it would take too much time for Anki to compare files to identify changes. One of the work-around is to logout in Preferences → Syncing, then sync and log in again. While this seems to work, for frequent updates though, it can get troublesome. I wonder if Anki could compare the file modification timestamps between the desktop and web during sync operations and update the files that are newer.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [March 31, 2026, 12:15am UTC](https://forums.ankiweb.net/t/sync-media-files-to-anki-web-if-modification-time-is-newer/69035/2 "2026-03-31T00:15:34Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
