Media Sync


You can scan all files that are in „uploads“ directory and see which ones are actually in Media Library and which ones are just sitting there. Then you can select those that you want to import to database and therefore make them available in Media Library.

You can also use FTP to upload your files to „uploads“ directory and use this plugin to bring those files into Media Library. There are other plugins that can be used for that, but with this one you can easily select all and import all at once.

This plugin is still in early development so it has basic functionality, but more features will be added if there is some interest for that.

Why I created this plugin

I once copied WordPress site to a different server and Media Library ended up being empty, even tho all files were in „uploads“ directory and database was copied. So I had to use some other plugin which required me to manually enter each directory and import files in batches per each directory. But I needed something to just import everything at once, so I created this plugin.

Files that are ignored:
– index.php,
– various hidden files,
– WP generated thumbnails – anything ending with for example -100×100.jpg.


  • Initial Page
  • Example of selecting files for import
  • Import to Media Library in progress
  • Import completed


  1. Upload media-sync directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‚Plugins‘ menu in WordPress


30. September 2019
i searched and searched for a plugin that would move my ftp files to wordpress media folders. (i used a plugin that no longer works) This is very easy to use and works.
2. Juli 2019
Worked brilliantly importing 4000 FTP'd images (in 4 folders). Tried the other two more well-known FTP media sync plugins and they failed. (FUWWE) This one works!
12. Juni 2019
Most plug-ins of this type delete orphans - this plugin reunited all the orphaned media files in my uploads directory with my database. Saved me hours of reimporting. Many Thanks!
21. Mai 2019
J'avais besoin de réintégrer des fichiers chargés directement via FTP dans ma Bibliothèque médias, ça marche très bien.
24. April 2019
This plugin save me a lot of time. I had tried other alternatives, but none worked fine. You are my hero @erolsk8 🙂
Lies alle 9 Rezensionen

Mitwirkende & Entwickler

„Media Sync“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:


„Media Sync“ wurde in 1 Sprache übersetzt. Danke an die Übersetzerinnen und Übersetzer für ihre Mitwirkung.

Übersetze „Media Sync“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.



  • Reduce the number of items to import per batch


  • Support multisite network by changing required access capability from update_plugins to import


  • Another fix for get_current_screen error


  • Fix get_current_screen error


  • New option to clean up Media Library from items that are missing actual files (using custom Media Library filter)
  • New filter when scanning uploads directory which can help to show only files missing from Media Library


  • Fix PHP short array syntax
  • Update required PHP version to 5.4


  • Date of imported Media Library item is now set based on file modification timestamp


  • Add plugin localization
  • Add Serbian translation


  • Various improvements and fixes


  • Fix sorting of directories and files
  • Minor wording changes and code cleanup


  • Fix error on activation


  • Initial plugin features