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.
-
Sync to Local
This tool will copy all of your cloud storage files to your local server.
-
Update Elementor
Updates your Elementor pages and posts with the correct image URLs after you make changes, migrate to the cloud, etc.
-
Replace URLs
Replaces URLs in content in the database with the correct cloud storage URL. Please read this whole article before using.
-
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.
-
Migrate BuddyPress/BuddyBoss Content
Migrates BuddyPress/BuddyBoss avatars and cover images to cloud storage.
-
Generate EWWW WebP
This tool will generate webp files for any media on cloud storage using the EWWW Image Optimization plugin.