# WP-CLI commands

Offloft's WP-CLI commands start with `wp offloft`. They cover 18 tasks, including status, scan, offload, verify, restore, issues, fix and job control. Run `wp help offloft` on your server for every option of a command. They're in the free plugin, so no license is needed.

| Command | What it does |
|---|---|
| `wp offloft status` | Show how your media is doing. |
| `wp offloft scan` | Scan the media library before offloading. Nothing is uploaded. |
| `wp offloft offload` | Upload media items to your storage and check each copy. |
| `wp offloft verify` | Check that cloud copies are there and complete (no download). |
| `wp offloft resync` | Sync media items again now. |
| `wp offloft restore` | Bring files missing from your server back from the cloud. |
| `wp offloft exclude` | Keep media items on your server: they are no longer offloaded. |
| `wp offloft include` | Offload excluded media items again (the upload runs in the background). |
| `wp offloft issues` | List issues: what went wrong, what it affects, and what fixes it. |
| `wp offloft fix` | Fix issues: one, every one of a kind, or all Offloft can fix. |
| `wp offloft run` | Process the background tasks that are due now (uploads, checks, retries). |
| `wp offloft test-connection` | Test the connection to your storage. |
| `wp offloft complete-setup` | Finish setup without the wizard, for a connection set in wp-config.php or by script. |
| `wp offloft system-info` | Show system information for a support request. Keys are masked. |
| `wp offloft job list` | List running jobs and the last 20 finished ones. |
| `wp offloft job pause` | Pause a job after the media item in hand. |
| `wp offloft job resume` | Resume a paused job where it stopped (in the background). |
| `wp offloft job cancel` | Cancel a job after the media item in hand. What is done stays done. |

Updated 2026-11-06.

Source: https://www.offloft.com/docs/reference/wp-cli
