Upload and manage files
cmdop upload puts one file, or one directory, on a public URL. A directory
travels as a single compressed archive and is stored as independently
addressable files — you get one upload, not one per file.
cmdop upload ./report.pdf
cmdop upload ./screenshots
cmdop upload ./screenshots --bundle "Launch shots"| Flag | Purpose |
|---|---|
--bundle <name> | Group this upload under a named set. |
--json | Print the machine-readable result. |
Re-uploading identical content costs nothing and returns the same URL, so
re-running cmdop upload on an unchanged file is safe.
List and remove uploads
cmdop storage manages what you have already uploaded, and counts against
your plan’s storage entitlement (see Usage and quotas).
cmdop storage list
cmdop storage list --json
cmdop storage remove <public-id>storage list shows every file you have uploaded. storage remove deletes
one by its public id and reclaims its bytes against your storage quota;
rm and delete are aliases for remove.
Related
- All commands
- Usage and quotas
- cmdop publish — for a finished site, not a single file.
Last updated on