---
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`
