mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-28 20:54:06 +00:00
Update cheatsheets
This commit is contained in:
29
tldr/linux/pacsync
Normal file
29
tldr/linux/pacsync
Normal 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`
|
||||
Reference in New Issue
Block a user