mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-16 17:49:13 +00:00
Update cheatsheets
This commit is contained in:
21
linux/createrepo
Normal file
21
linux/createrepo
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# createrepo
|
||||
|
||||
> Initializes an RPM repository in a directory, including all XML and SQLite files.
|
||||
> More information: <https://manned.org/createrepo>.
|
||||
|
||||
- Initialize a basic repository in a directory:
|
||||
|
||||
`createrepo {{path/to/directory}}`
|
||||
|
||||
- Initialize a repository, exclude test RPMs and display verbose logs:
|
||||
|
||||
`createrepo -v -x {{test_*.rpm}} {{path/to/directory}}`
|
||||
|
||||
- Initialize a repository, using SHA1 as the checksum algorithm, and ignoring symbolic links:
|
||||
|
||||
`createrepo -S -s {{sha1}} {{path/to/directory}}`
|
||||
Reference in New Issue
Block a user