Update cheatsheets

This commit is contained in:
ivuorinen
2025-11-30 00:23:24 +00:00
parent d1988a6d2c
commit ce66b5e9bf
119 changed files with 333 additions and 158 deletions

29
tldr/linux/pacsync Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# pacsync
> Update sync databases.
> More information: <https://github.com/andrewgregory/pacutils/blob/master/doc/pacsync.pod>.
- Update all sync databases:
`sudo pacsync`
- Update specific sync databases:
`sudo pacsync {{repository1 repository2 ...}}`
- Update sync databases even if they are already up-to-date:
`sudo pacsync --force`
- Update sync databases using a specific configuration file:
`sudo pacsync --config {{path/to/pacman.conf}}`
- Update sync databases and return true only if a database was actually updated:
`sudo pacsync --updated`