Files
cheatsheet-tldr/tldr/sfdk-undeploy
2025-04-03 00:18:34 +00:00

26 lines
616 B
Plaintext

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