Re: createrepo exclude directories?

Seth Vidal <[email protected]>
Newsgroups gmane.linux.rpm.metadata
Message-ID <[email protected]>

On Wed, 10 Feb 2010, Robert Xu wrote:

> Hi,
>
> When using createrepo,  can it exclude directories inside the repository?
>
> For example, I'm running createrepo on /my/repo
> Inside /my/repo, there are directories:
>                       /i686
>                       /x86_64
>                       /repodata
>                       /somedirectory
> And I would like to exclude somedirectory. How can I do that?
>

createrepo -x 'somedirectory/*' .

should do it.

-sv
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.