mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 21:22:09 +02:00

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
16 lines
511 B
Markdown
16 lines
511 B
Markdown
# 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}}`
|