mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-18 00:49:43 +00:00
Update cheatsheets
This commit is contained in:
@@ -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
43
tldr/upt
Normal 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`
|
||||
Reference in New Issue
Block a user