Update cheatsheets

This commit is contained in:
ivuorinen
2025-04-14 00:20:22 +00:00
parent 37f3913313
commit 9a9a8b6f40
9 changed files with 34 additions and 8 deletions

26
tldr/gomi Normal file
View File

@@ -0,0 +1,26 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# gomi
> Manage the trashcan.
> See also: `trash`, `rm`.
> More information: <https://github.com/babarot/gomi>.
- Safely delete specific files or folders:
`gomi {{path/to/file1 path/to/file2 path/to/folder1 path/to/folder2 ...}}`
- Open an interactive menu to restore one or more files:
`gomi {{[-b|--restore]}}`
- Remove files that have been in the trashcan longer than the specified time ([d]ay, [w]eek, [m]onth, [y]ear):
`gomi --prune {{1d|1w|1m|1y|...}}`
- Remove orphaned `.trashinfo` files:
`gomi --prune {{orphans}}`

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Uninstall packages in Mageia.
> See also: `urpmi`, `urpmi.update`, `urpmi.addmedia`, `urpmi.removemedia`, `urpmf`, `urpmq`.
> More information: <https://wiki.mageia.org/en/URPMI#urpme>.
> More information: <https://man.linuxreviews.org/man8/urpme.8.html>.
- Uninstall a package:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Find files in packages and query information about them in Mageia.
> See also: `urpmi`, `urpme`, `urpmi.addmedia`, `urpmi.removemedia`, `urpmi.update`, `urpmq`.
> More information: <https://wiki.mageia.org/en/URPMI#urpmf>.
> More information: <https://man.linuxreviews.org/man8/urpmf.8.html>.
- Search for packages that contain a file:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Install packages in Mageia.
> See also: `urpm.update`, `urpme`, `urpmi.addmedia`, `urpmi.removemedia`, `urpmf`, `urpmq`.
> More information: <https://wiki.mageia.org/en/URPMI#urpmi>.
> More information: <https://man.linuxreviews.org/man8/urpmi.8.html>.
- Install a package from the repository or from a local RPM file:

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Add media in Mageia.
> Note: Mageia documentation uses medium and repository as synonymous.
> See also: `urpmi`, `urpmi.update`, `urpme`, `urpmi.removemedia`, `urpmf`, `urpmq`.
> More information: <https://wiki.mageia.org/en/URPMI#urpme>.
> More information: <https://man.linuxreviews.org/man8/urpmi.addmedia.8.html>.
- Add a medium:

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Remove media in Mageia.
> Note: Mageia documentation uses medium and repository as synonymous.
> See also: `urpmi`, `urpme`, `urpmi.addmedia`, `urpmi.update`, `urpmf`, `urpmq`.
> More information: <https://wiki.mageia.org/en/URPMI#urpmi.removemedia>.
> More information: <https://man.linuxreviews.org/man8/urpmi.removemedia.8.html>.
- Remove a medium:

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Update the list of packages from a package repository in Mageia.
> Note: Mageia documentation uses medium and repository as synonymous.
> See also: `urpmi`, `urpme`, `urpmi.addmedia`, `urpmi.removemedia`, `urpmf`, `urpmq`.
> More information: <https://wiki.mageia.org/en/URPMI#urpmi.update>.
> More information: <https://man.linuxreviews.org/man8/urpmi.update.8.html>.
- Update all enabled media:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Query information about packages and media in Mageia.
> See also: `urpmi`, `urpmi.update`, `urpmi.addmedia`, `urpmi.removemedia`, `urpmf`, `urpme`.
> More information: <https://wiki.mageia.org/en/URPMI#urpmq>.
> More information: <https://man.linuxreviews.org/man8/urpmq.8.html>.
- Display information about an installable package:

View File

@@ -23,7 +23,7 @@ source: https://github.com/tldr-pages/tldr.git
- Execute the command once per argument:
`{{arguments_source}} | xargs {{-n|--max-args}} 1 {{command}}`
`{{arguments_source}} | xargs {{[-n|--max-args]}} 1 {{command}}`
- Execute the command once for each input line, replacing any occurrences of the placeholder (here marked as `_`) with the input line: