r/WordpressPlugins • • Sep 17 '26

[FREEMIUM] Added a "select specific files and export just those" workflow to my WordPress media export plugin — feedback welcome

I maintain a WordPress import/export plugin (Import Export by RockStarLab), and one thing that kept coming up from users was frustration with the built-in WordPress export — it's all-or-nothing for media. You can't just grab a handful of files without exporting the entire library.

So I added a workflow where you select files directly in Media → Library (Bulk Select, same UI everyone already uses), hit Export, and it exports only those files to CSV — with metadata (alt text, titles, dimensions, etc.) intact. On the import side there's auto field-mapping and filename-based duplicate detection, so re-importing into another site doesn't create dupes.

Mostly useful for staging → production syncs, client handoffs, or anyone who doesn't want a 500MB export for 7 images.

Wrote up the full workflow with screenshots here: https://wpimportexport.com/export-selected-files-wordpress-media-library/

It's a PRO feature, free plugin has a 1-month PRO trial if anyone wants to try it without committing: https://wpimportexport.com/

Genuinely curious how others here have handled partial media migrations before — WP-CLI script, raw SQL, something else? Would help me figure out what to build next.

0 Upvotes

2 comments sorted by

1

u/TopSydeWP Sep 19 '26

for partial media moves i usually do it over ssh: rsync the specific uploads subfolders across, then wp media import on the target with --porcelain and a small loop that reapplies alt text via wp post meta set <id> _wp_attachment_image_alt. the annoying part is never the files, it's the references, so after import i run a wp search-replace on the old url to the new one including serialized data, and for elementor sites a separate pass over _elementor_data since image ids are baked into the json and will point at attachments that don't exist on the target.

if your import side can optionally rewrite references by old attachment id to new attachment id (not just filename) that would solve the thing wp-cli makes me hand-roll every time.

1

u/[deleted] Sep 19 '26 edited Sep 19 '26

Yep, that’s exactly what our importer does for ACF. When media is imported and gets a new attachment ID on the destination, we map the old attachment ID to the new one and rewrite the references accordingly across ACF fields — including repeaters, nested fields, and flexible content. So the ACF data ends up referencing the newly created/existing attachments on the destination rather than keeping the source IDs. Elementor IDs are also supported 👌

This also works not only for posts: ACF fields for Users, Taxonomies, Menus are also supported:

If you wish, check some video demos:

https://wpimportexport.com/sync-elementor-pages-between-sites-blocksy-theme/

https://wpimportexport.com/export-import-wordpress-users-acf-custom-fields/