Description
Satchmere builds the ZIP in small steps in the background, so a media library too big for one request still finishes, free, and an export that stopped (a closed tab, a host time-out, a server restart) carries on from the last part it wrote instead of starting over. Choose the whole library, a date range, a type, the image sizes, or the files of the posts you pick; download the parts; import them on another site with the same plugin, together with the chosen posts, their categories, tags and custom fields. Everything runs on your own site, with no account, and nothing is sent anywhere.
How Satchmere is different
Satchmere exports what you choose from your media library: all of it, a date range, a type of file, or the files of chosen posts, with those posts themselves when you tick them. It copies media files and chosen posts, never a whole site: themes, plugins, users and settings stay where they are. Satchmere builds your export a few files at a time on your own server, in WordPress’s own background queue, and writes each part to disk as it goes. You can close the tab. With the tab closed, the steps run on WordPress’s scheduled tasks, which WordPress runs when it serves a page of your site. On a site with few visits, or one whose host has turned scheduled tasks off, keep the Export screen open and the steps run from it. The screen says which applies to your site. If the host stops a step or the server restarts, the export carries on from the last part it wrote; the part it was writing is written again. Built in these steps, a library that is too big for one request still ends in a set of ZIP parts you can download, and the same plugin imports them on the other site, part by part, with the posts, their images, terms and custom fields carried as JSON. Everything in Satchmere is free, with no account.
Export your media library to ZIP, and download it
Open Tools › Satchmere › Export. Under “What to export”, choose “The whole library”, “A date range, by the month the files were uploaded” (a From and a To month), “Kinds of file” or “The files of chosen posts”. Under “Image sizes”, choose “Originals only” or “Originals and every size WordPress made of them”. “Part size” sets how big each ZIP part may grow. The screen counts what you chose before it starts, shows each part as it is finished, the speed and the time left, and gives every finished part its own Download button. Each part also holds a list of its files (file name, title, alt text, caption, date and size) that opens in a spreadsheet, every cell as plain text.
Download all images, or only some of them
Under “Kinds of file”, tick Images, Video, Audio or “Documents and other files”, in any mix. With “Originals only”, each file comes as the Media Library holds it; with “Originals and every size WordPress made of them”, the other sizes WordPress made of a picture come too. A file that is missing from the server, or that you may not export, is left out and named on the Export screen with the reason.
Export posts with their images
Choose “The files of chosen posts”, then find the posts by “Post type”, “Category”, “Month” or “Search” and tick them under “Chosen posts”. Their featured images, the files attached to them and the files their text links to go into the parts. Tick “Also export the chosen posts themselves” and the last part also holds the posts, with their categories, tags, featured images and custom fields (extra details a plugin keeps on a post), as JSON.
Import a media ZIP, and move your media to a new site
On the other site, install Satchmere and open Tools › Satchmere › Import. “Upload a Satchmere part” sends the part in pieces below that site’s upload size, so a part bigger than its upload limit still arrives. Upload the parts one at a time, in any order: each part imports on its own, a step at a time, and its files go into the Media Library in their year and month folders. A file already imported from the same site is counted as already here and not added again. When a part also holds posts, the screen offers a button, “Import the … posts too”, that names how many, and “Whose name the posts carry” lets a site manager pick the author; no user is made. Links in the posts to the files the import brought in are pointed at their new place.
Every file in a part is judged by its name and by what it really holds, against the kinds of file the site allows, before anything is written. Satchmere never unpacks a whole ZIP at once: it reads one file at a time, writes only files WordPress itself accepts, and names each refused file on the Import screen with the reason.
How big can an export be?
Satchmere sets no limit of its own on the size of your library. What does decide: the free disk space on your host (the parts need about as much space again as the files), the time your host gives each step, and your site’s upload size (a big part is uploaded in pieces on the Import screen). The part size, how long finished parts are kept and the import’s total-size cap are settings, named on the Settings screen. Five caps are fixed: one export takes up to 200 chosen posts (the screen asks for fewer past that); the file that carries the posts themselves, in the last part, holds up to 16 MB of them, and one import reads up to 20,000 posts from it; an extra detail a plugin keeps on a post travels only when it is nested to a depth of 10 or less; and one part is read up to its first 100,000 files. Whatever these leave out is named on the Export or the Import screen.
Where everything lives
Satchmere lives under Tools › Satchmere, with its Export, Import, Jobs and Settings screens. The first time you open the Export screen, a short card shows how many files your media library holds and how big it is, the free disk space on your host and the time your host gives each step; “Got it” puts it away for good. On a multisite network, each site exports its own media library.
Every export and import is listed on the Jobs screen with what it covers, when it started, where it stands and its parts. From there you can pause an export or an import (“Pause”), carry it on from where it stopped (“Carry on”), cancel it (“Cancel”), or delete it with its parts (“Delete”); your media files and posts are not touched. On the Settings screen you choose the part size a new export starts at (“Part size”), how long finished parts are kept (“Keep finished parts for”: 1, 24 or 72 hours), whether a part is deleted once it has been downloaded whole (“Delete a part once it has been downloaded whole”), the most one import may add (“The most one import may add, in GB”), and whether the list of jobs stays if Satchmere is deleted (“Keep the list of jobs if Satchmere is deleted”).
External services
Satchmere does not contact any outside service.
Privacy
Each export or import keeps the user who started it, so the Jobs list can show it. Satchmere keeps nothing else about a person.
When you tick “Also export the chosen posts themselves”, the posts file in the export’s last part holds each chosen post’s author’s login name and display name (never an e-mail address), and the drafts and private posts among the posts you chose. The Export screen says so beside the tick.
Satchmere offers a suggested text for your privacy policy under Settings › Privacy, saying what a job keeps and for how long. WordPress’s own Export Personal Data and Erase Personal Data tools, under Tools, reach a person’s jobs: the export lists each job they started, and the erase deletes those jobs with their parts. Neither touches a media file, an attachment or a post. Nothing about a job is sent to any other site or service.
Screenshots





Installation
- In your WordPress admin, open Plugins › Add New Plugin, search for “Satchmere”, then press Install Now and Activate.
- Open Tools › Satchmere › Export, choose what to export and press the button below, which names what it exports (such as “Export the whole library”). Download each part from the same screen when it is finished.
- On the site that should receive the files, install and activate Satchmere the same way, open Tools › Satchmere › Import and upload the parts with “Upload a Satchmere part”.
Satchmere needs PHP’s zip extension on the server. When it is switched off, the Satchmere screens say so and ask you to have your host switch it on.
FAQ
-
Is this a copy of my whole site?
-
No. Satchmere copies your media files, and the posts you choose with their categories, tags, featured images and custom fields. Themes, plugins, users, settings, comments and every other post stay out of it.
-
How big a library can Satchmere export?
-
Satchmere sets no limit of its own: the free disk space on your host, the time your host gives each step and your site’s upload size decide, and the fixed caps are named under “How big can an export be?” above.
-
Can I close the tab while an export runs?
-
Yes. With the tab closed, the steps run on WordPress’s scheduled tasks, which WordPress runs when it serves a page of your site. On a site with few visits, keep the Export screen open and the steps run from it. The Export screen says which applies to your site.
-
What if my host has turned off WordPress’s scheduled tasks?
-
Keep the Export screen open until the export finishes: the steps run from it while it is open. The screen says when this site’s scheduled tasks are switched off, and the Jobs screen says when an export has not moved for 15 minutes. You can also ask your host to run WordPress’s scheduled tasks from the server every few minutes. The Import screen works the same way.
-
What is in a part?
-
Your media files, in their year and month folders, and a folder named satchmere that holds part.json (what the part is), media.csv (the list of its files, which opens in a spreadsheet as plain text) and, in the last part, manifest.json (the whole export’s totals) and, when you ticked it, posts.json (the chosen posts).
-
Does it import WordPress’s own export file?
-
No. Satchmere imports only the ZIP parts Satchmere made. A ZIP file without its satchmere/part.json is refused, and nothing of it is kept.
-
Is a part public while it waits to be downloaded?
-
Parts wait in a folder of their own under your uploads folder, whose name and each part’s name carry a random code of 32 letters and numbers. The folder holds an empty index.html and an .htaccess that turns away every visit on a server that reads it. A part is downloaded only through Satchmere’s own Download button, by the person who made the export or a site manager. Each part is deleted once it has been downloaded whole (on by default) and every part after the time set on the Settings screen (24 hours unless you change it). On a server that does not read .htaccess (nginx), the random names and the deletion are what keep a part private.
-
What does the import refuse?
-
A file whose path leads out of its folder, a link instead of a file, a file the part’s list does not name, a file whose size or bytes are not those the part lists, a file of a kind the site does not take (judged by what it really holds, not by its name), a file of a kind a web server could run, such as PHP or .htaccess, a file that unpacks to more than 100 times its packed size, and anything past the import’s total-size cap or the free disk space. Each refused file is named on the Import screen with the reason. A custom field WordPress keeps for itself is left out of an imported post.
-
Does Satchmere send anything anywhere?
-
No. Satchmere does not contact any outside service, loads nothing from another host and sends no e-mail. You download the parts yourself and upload them to the other site yourself.
-
What happens when I delete Satchmere?
-
Deleting Satchmere from the Plugins screen removes only what Satchmere made: its scheduled steps, its folders with every part in them and, unless “Keep the list of jobs if Satchmere is deleted” is switched on, its settings and its list of jobs. Every media file, attachment, imported post and term stays. Switching Satchmere off keeps everything.
-
Does it work on a multisite network?
-
Yes. Each site exports and imports its own media library, from its own Tools › Satchmere screens.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Satchmere – Media Library Export to ZIP” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Satchmere – Media Library Export to ZIP” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- The plugin’s frame: Tools › Satchmere with its Export, Import, Jobs and Settings screens, its settings and its list of jobs.
- The export: the whole library, a date range, kinds of file, the original files or every image size, or the files of the posts you pick, as ZIP parts of the size you choose, written a step at a time in the background. With a tick, the chosen posts themselves go in the last part, with their categories, tags and custom fields as JSON.
- The download: each finished part has its own Download button, for the person who made the export or a site manager. A part is deleted after a whole download (a setting) and every part after the time set (24 hours unless you change it).
- The import: a part is uploaded in pieces below your site’s upload size; every file in it is judged by its name and its real contents against the types your site allows, and written into the Media Library in its year and month folder. A file already imported is counted, never added twice. The posts in the last part come in after it, with their categories, tags, custom fields and featured images, their links to imported files pointed at this site.
- The Jobs list: every export and import with what it covers, when it started, where it stands and its parts; Pause, Carry on, Cancel and Delete, each for the person who started the job or a site manager. The Export screen and the Jobs list say how the background steps run on your site.
- The Settings screen: the part size, how long finished parts are kept, deleting a part once downloaded, the most one import may add, and keeping the list of jobs when Satchmere is deleted. A suggested text for your privacy policy, and WordPress’s Export and Erase Personal Data tools reach a person’s jobs. The list of files in each part opens in a spreadsheet as plain text.
- The Export screen’s first visit: a short card with your library’s file count and size, the free disk space and the time your host gives each step, put away for good with “Got it”. The Export and Import screens name what decides an export’s size and the import’s caps where you meet them.
- Tested on WordPress 6.6 to 7.1 and PHP 7.4 to 8.4, on Apache and nginx, with uploads by month or in one folder, and on a multisite network, where each site exports its own media library.
- What makes Satchmere different: an export runs in small steps in the background and, after a stop, carries on from the last part it wrote instead of starting over.
