diff --git a/tldr/rsync b/tldr/rsync index de209ca7..3e92b17c 100644 --- a/tldr/rsync +++ b/tldr/rsync @@ -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}}` diff --git a/tldr/upt b/tldr/upt new file mode 100644 index 00000000..ada6d50a --- /dev/null +++ b/tldr/upt @@ -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: . + +- 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`