2017 © Pedro Peláez
 

wp-cli-package wp-cli-media-restore

Restore media attachments using WP CLI

image

frozzare/wp-cli-media-restore

Restore media attachments using WP CLI

  • Tuesday, October 17, 2017
  • by fredrikforsmo
  • Repository
  • 2 Watchers
  • 16 Stars
  • 3,774 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 3 Versions
  • 6 % Grown

The README.md

wp-cli-media-restore

No Maintenance Intended, (*1)

Restore media attachments using WP CLI. Based on download missing attachments with support for custom content directory and configuration in WP CLI config file., (*2)

Installation

If you're using WP-CLI v0.23.0 or later, you can install this package with:, (*3)

wp package install frozzare/wp-cli-media-restore

Or, using Composer directly:, (*4)

composer require frozzare/wp-cli-media-restore

For other methods, please refer to WP-CLI's Community Packages wiki., (*5)

Config

Example of ~/.wp-cli/config.yml:, (*6)

media:
  restore:
    generate: false
    uploads_url: http://www.bedrock.com/app/uploads/

Options

[--generate=false]

Set this optional parameter if you want to (re)generate all the different image sizes. Defaults to not generating thumbnails., (*7)

[--uploads-url]

The URL to the uploads directory, not including any date based folder structure., (*8)

Examples

wp media restore --uploads-url=http://www.bedrock.com/app/uploads/

License

MIT © Fredrik Forsmo, (*9)

The Versions

17/10 2017

dev-master

9999999-dev https://github.com/frozzare/wp-cli-media-restore

Restore media attachments using WP CLI

  Sources   Download

MIT

The Requires

  • php >=5.4

 

wordpress wp-cli attachments

17/10 2017

dev-frozzare-patch-1

dev-frozzare-patch-1 https://github.com/frozzare/wp-cli-media-restore

Restore media attachments using WP CLI

  Sources   Download

MIT

The Requires

  • php >=5.4

 

wordpress wp-cli attachments

22/11 2015

v1.0.0

1.0.0.0 https://github.com/frozzare/wp-cli-media-restore

Restore media attachments using WP CLI

  Sources   Download

MIT

The Requires

  • php >=5.4

 

wordpress wp-cli attachments