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

26 lines
625 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}} {{[-n|--dry-run]}}`
- Undeploy files in glob pattern `package*`:
`sfdk undeploy --{{method}} "+package*"`
- Undeploy all files excluding `ignore*`:
`sfdk undeploy --{{method}} "-ignore*"`