Update cheatsheets

This commit is contained in:
ivuorinen
2024-04-09 00:14:01 +00:00
parent 2587d74de1
commit 8ee9ac5b39
2 changed files with 44 additions and 1 deletions

View File

@@ -33,7 +33,7 @@ source: https://github.com/tldr-pages/tldr.git
`rsync --archive --update --copy-links {{path/to/source}} {{path/to/destination}}`
- Transfer a directory to a remote host running `rsyncd` and delete files on the destination that do not exist on the source:
- Transfer a directory from a remote host running `rsyncd` and delete files on the destination that do not exist on the source:
`rsync --recursive --delete rsync://{{host}}:{{path/to/source}} {{path/to/destination}}`

43
tldr/upt Normal file
View File

@@ -0,0 +1,43 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# upt
> Unified interface for managing packages across various operating systems, like Windows, many Linux distributions, macOS, FreeBSD and even Haiku.
> It requires the native OS package manager to be installed.
> See also: `flatpak`, `brew`, `scoop`, `apt`, `dnf`.
> More information: <https://github.com/sigoden/upt>.
- Update the list of available packages:
`upt update`
- Search for a given package:
`upt search {{search_term}}`
- Show information for a package:
`upt info {{package}}`
- Install a given package:
`upt install {{package}}`
- Remove a given package:
`upt {{remove|uninstall}} {{package}}`
- Upgrade all installed packages:
`upt upgrade`
- Upgrade a given package:
`upt upgrade {{package}}`
- List installed packages:
`upt list`