mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
30 lines
655 B
Plaintext
30 lines
655 B
Plaintext
---
|
|
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`
|