[Yum] Recursion?
seth vidal
skvidal at phy.duke.edu
Tue Nov 2 05:08:59 UTC 2004
On Mon, 2004-11-01 at 22:15 -0500, Michael Jennings wrote:
> On Monday, 01 November 2004, at 22:58:04 (-0500),
> seth vidal wrote:
>
> > here's what I just tried with createrepo and it worked:
> > createrepo -v -p -x RPMS/*.rpm ~/rpm/
> >
> > Doing that excludes all rpms under RPMS/
> >
> > if it's not working let me know, and tell me which version
>
> Here's what I was getting:
>
> # (cd /caos/repo/ext/autobuilder/i386 ; createrepo -x '00_LOGS/*' .)
> Error: Only one directory allowed per run.
>
> createrepo [options] directory-of-packages
>
> Options:
> -u, --baseurl = optional base url location for all files
> -x, --exclude = files globs to exclude, can be specified multiple times
> -q, --quiet = run quietly
> -g, --groupfile <filename> to point to for group information (precreated)
> -v, --verbose = run verbosely
> -s, --checksum = md5 or sha - select type of checksum to use (default: md5)
> -h, --help = show this help
> -V, --version = output version
> -p, --pretty = output xml files in pretty format.
>
>
> But when I tried again with a different syntax (createrepo -x
> '00_LOGS/*' /caos/repo/ext/autobuilder/i386), it worked. Sorry to
> bother you. :)
>
I think it has to do with how it is expanding out relative vs absolute
paths.
-sv
More information about the Yum
mailing list