{"id":23774551,"url":"https://github.com/wpup/wp-cli-media-restore","last_synced_at":"2025-09-05T18:32:01.144Z","repository":{"id":62507684,"uuid":"46623180","full_name":"wpup/wp-cli-media-restore","owner":"wpup","description":"Restore media attachments using WP CLI","archived":false,"fork":false,"pushed_at":"2019-12-02T14:22:23.000Z","size":17,"stargazers_count":20,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-03T07:10:02.108Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wpup.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-21T16:23:34.000Z","updated_at":"2024-09-23T19:37:12.000Z","dependencies_parsed_at":"2022-11-02T10:16:07.207Z","dependency_job_id":null,"html_url":"https://github.com/wpup/wp-cli-media-restore","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/wpup/wp-cli-media-restore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpup%2Fwp-cli-media-restore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpup%2Fwp-cli-media-restore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpup%2Fwp-cli-media-restore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpup%2Fwp-cli-media-restore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wpup","download_url":"https://codeload.github.com/wpup/wp-cli-media-restore/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpup%2Fwp-cli-media-restore/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273799139,"owners_count":25170323,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-01T06:15:45.318Z","updated_at":"2025-09-05T18:32:00.884Z","avatar_url":"https://github.com/wpup.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wp-cli-media-restore\n\n[![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/)\n\nRestore media attachments using WP CLI. Based on [download missing attachments](https://github.com/cftp/wp-cli-download-missing-attachments) with support for custom content directory and configuration in WP CLI config file.\n\n## Installation\n\nIf you're using WP-CLI v0.23.0 or later, you can install this package with:\n\n```\nwp package install frozzare/wp-cli-media-restore\n```\n\nOr, using Composer directly:\n\n```\ncomposer require frozzare/wp-cli-media-restore\n```\n\nFor other methods, please refer to WP-CLI's [Community Packages](https://github.com/wp-cli/wp-cli/wiki/Community-Packages) wiki.\n\n## Config\n\nExample of `~/.wp-cli/config.yml`:\n\n```yaml\nmedia:\n  restore:\n    generate: false\n    uploads_url: http://www.bedrock.com/app/uploads/\n```\n\n## Options\n\n#### `[--generate=false]`\nSet this optional parameter if you want to (re)generate all the different image sizes. Defaults to not generating thumbnails.\n\n#### `[--uploads-url]`\nThe URL to the uploads directory, not including any date based folder structure.\n\n## Examples\n\n```\nwp media restore --uploads-url=http://www.bedrock.com/app/uploads/\n```\n\n## License\n\nMIT © [Fredrik Forsmo](https://github.com/frozzare)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpup%2Fwp-cli-media-restore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwpup%2Fwp-cli-media-restore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpup%2Fwp-cli-media-restore/lists"}