Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/cftp/wp-cli-download-missing-attachments/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Download Missing Attachments
This is for those situations where someone delivers you a database dump from a WordPress site, but you don't have access to the images and other user uploaded files.
This plugin adds a WP CLI command to download any files which are missing for attachments.
Examples
wp remote-attachments get --remote-url-base=http://www.example.com/wp-content/uploads/ --generate-thumbs
wp remote-attachments get --remote-url-base=http://www.example.com/files/