mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-30 01:43:23 +00:00
70629df0c2
Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Neal Gompa <ngompa13@gmail.com>
11 lines
187 B
Python
Executable File
11 lines
187 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
import os
|
|
import shutil
|
|
import sys
|
|
|
|
for desc in sys.argv[1:]:
|
|
inst = desc.split(':')
|
|
os.makedirs(inst[1], exist_ok=True)
|
|
shutil.copy(inst[0], inst[1])
|