Page 1 of 1

batch-import with wildcards (vboxmanage import *.ova)

Posted: 6. Feb 2014, 18:25
by diomedeida
Hey everybody,

I have a number of .ova-files that I want to import. Importing with "vboxmanage import <name>.ova" works, however giving a "vboxmanage import *.ova" fails. It looks like vboxmanage import does not support wildcards, which is a real bugger because it would save me a lot of typing.

Does anybody know if this normally works and just failed in my case or if wildcards are generally not supported? If the latter is the case, is there a specific reason for that?

Cheers

Michael

P.S Version is 4.3.6 on Windows 7

Re: batch-import with wildcards (vboxmanage import *.ova)

Posted: 6. Feb 2014, 19:04
by socratis
VirtualBox (as far as I know) doesn't support wildcards. I can think on no case where that would be useful, but a gazillion of cases where things could go wrong. Which means that IF they decided to implement this feature they would have to write a lot of code. Translation: no wildcards.

How many OVAs are we talking about here? More than 10?

Re: batch-import with wildcards (vboxmanage import *.ova)

Posted: 7. Feb 2014, 09:40
by diomedeida
Hi Sokratis,

thanks for the fast reply. I just wanted to know if I was doing something wrong. We are talking about a whole environment with more than 10 machines, but no worries, I'll just copy and paste the names into an install script. :D
It just would have been handy: much shorter scipt and no changes to the script for a re-installation of a changed environment.
Have a nice weekend.