Command Line
Media Cloud ships with a handful of WP-CLI command line tools to help manage your media and cloud storage.
Articles in Command Line
-
Migrate To Cloud Storage
Migrates your current WordPress library to cloud storage. Premium version only.
-
Import From Cloud Storage
Imports media from cloud storage into your WordPress media library. Premium version only.
-
Regenerate Thumbnails
This command will regenerate thumbnails for items in the media library. Premium version only.
-
Unlink From Cloud Storage
This command will unlink items in the media library from cloud storage. Note that this does not copy media down from cloud storage, it simply removes the cloud metadata. wp mediacloud:storage unlink [--limit=<number>] [--offset=<number>] [--page=<number>] Argument Type Optional Description limit number yes Limits the number of items to be processed, …
-
Process Image With Vision
Processes your existing images with Amazon Rekognition or Google Cloud Vision.
-
Migrate Human Made S3 Uploads
This command will generate the required metadata for any media uploads that were uploaded with Human Made’s S3 Uploads plugin. You must have S3 Uploads installed and activated. wp mediacloud:storage migrateS3Uploads [--limit=<number>] [--offset=<number>] [--page=<number>] [--order-by=date|title|filename] [--order=asc|desc] Argument Type Optional Description limit number yes Limits the number of items to be …
-
Replace URLs
Replaces URLs in content in the database with the correct cloud storage URL.
-
Migrate BuddyPress/BuddyBoss Content
Migrates BuddyPress/BuddyBoss avatars and cover images to cloud storage. wp mediacloud:buddypress migrate …