Files
cheatsheet-tldr/tldr/sfdk-deploy
2025-04-13 00:44:09 +00:00

30 lines
733 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# sfdk deploy
> Deploys build results to a device.
> More information: <https://docs.sailfishos.org/Tools/Sailfish_SDK/Deploying_packages/>.
- Deploy using a specified method (`pkcon`, `rsync`, `sdk`, `zypper`, `zypper-dup` or `manual`):
`sfdk deploy --{{method}}`
- Preview deploy without applying the changes:
`sfdk deploy --{{method}} {{[-n|--dry-run]}}`
- Deploy files in glob pattern `package*`:
`sfdk deploy --{{method}} "+package*"`
- Deploy all files excluding `ignore*`:
`sfdk deploy --{{method}} "-ignore*"`
- Undeploy using a specified method (`pkcon`, `rpm`, `rsync`, `sdk` or `zypper`):
`sfdk undeploy --{{method}}`