How to update or remove media file

My deck have a lot of media files, so I cannot upload and sychchronize them. the only way I can use is importing from iTunes. but, when I remove a deck and check media, I found it’s invalid, no media file be removed. and when I import updated media files, it never overwirte the same filename file. so, every time when I need to update media file I have to remove AnkiMobile app and reinstall it, it’s terrible.

There’s no limit on the number of media files you can sync (see Are there limits on file sizes on AnkiWeb? - Anki FAQs). I don’t see any reason why standard syncing won’t work for you.

If you delete note from your collection, you use Check Media to get rid of the media you no longer need. I’m not sure what you’re trying to do there that isn’t working.

Hopefully, by using regular syncing, you can avoid needing to do that.

My media files amount to several gigabytes, so it’s really difficult to upload or download them. I can only update them by importing from iTunes. Regarding the update of media files, why can’t it be done by overwriting? You could add an overwrite option for users. It’s not that difficult. As for the fact that unused media files can’t be detected without checking the media files, this is very easy to test under Windows. I’ve tried deleting all decks countless times, but the space occupied by AnkiMobile still amounts to several gigabytes.

I saw that, but you only need to do that the first time you sync your collection to a new device. It might take a few tries to get it all synced, but after that the syncs will be only incremental changes. Media files may take time to sync - Anki FAQs

Yes, of course, you can already replace any of the media files in your collection with other files. I don’t understand what “overwriting” you’re trying to do that isn’t working.

Yes, you have to run a Check Media AND tell Anki to delete the unused files, or they won’t be removed from your collection on Windows, AnkiWeb, or AnkiMobile. Or you can run the Check Media on AnkiMobile instead, if you like, and delete the files there first. After you sync, it will be the same.

It seems like you’ve had these things pestering you for a long time – but I don’t think they need to be. Can we just pick one of the issues, and get it working the way it is supposed to be? Start with getting Windows Anki, AnkiWeb, and AnkiMobile all in sync, including media.

It’s too tough in China. :face_with_head_bandage:

Sometimes I want to change a icon, sometimes I found some media files have problems. so I want to update them by importing from iTunes. but Ankimobile never overwrites the same name file.

I had tried many times by “check media”, Anki never find some of “unused file” on windows or iphone !!!

Last time I remove all deck from iphone, then I “empty card” and “check mediaI” many times. But AnkiMobile still occupies the same storage space, 12GB, it’s terrible!

Okay, but copying your media should still be something you only need you only need to do once. Then you can setup syncing, and Anki will only sync your database (which is less than 1% of the size of your media). Or you can do a full Collection Transfer, and keep all of your data together when you move it from device to device. Collection Transfer - AnkiMobile Manual

It should definitely be possible to update a media file without changing the name. If you’re having trouble doing that on your iOS device, that’s another good reason to set up syncing – you can make those sorts of changes on your Windows collection and easily sync that to iOS.

I don’t know how to explain that, because the collection you have synced with AnkiWeb is only a little over 2GB. Do you have multiple profiles/multiple AnkiWeb accounts?

AnkiMobile stores data in a temporary folder when importing. It’s supposed to be cleaned up as the import completes, and if that fails, iOS should clean it up at some future date. I’ve made a note to look into this, as it sounds like it’s not working properly.

The syncing problems are unfortunately due to the filtering that China does. Some users have reported they had more success when using a VPN.

1 Like