Mike Chambers wrote: > When using some of these, such as --enablerepo= and --exclude=, is there > a way to use just one option with multiple choices such as below... > > --enablerepo=one,two,three --exclude=package1,package1 > > instead of one option per choice as is currently? > The way I do it is by using Bash's brace expansion: $ yum --enablerepo={repofoo,repobar,testing} --exclude={pkg1,libzoink} ... Bash expands that to $ yum --enablerepo=repofoo --enablerepo=repobar \ --enablerepo=testing --exclude=pkg1 --exclude=libzoink Hope that helps. -- Peter Gordon (codergeek42) GnuPG Public Key ID: 0xFFC19479 / Fingerprint: DD68 A414 56BD 6368 D957 9666 4268 CB7A FFC1 9479 My Blog: http://thecodergeek.com/blog/
Attachment:
signature.asc
Description: OpenPGP digital signature
-- fedora-test-list mailing list fedora-test-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-test-list