Hi folks,
when using mgrctl cp only one file at the same time can be copied, e.g.:
uyuni-server:~ # mgrctl cp a server:/root/a
10:01AM INF Starting mgrctl cp a server:/root/a
It would be handy having the possibility to copy multiple files at the same time. Currently, this is not possible as the cp subcommand only accepts 2 arguments:
uyuni-server:~ # mgrctl cp a b server:/root/
Error: accepts 2 arg(s), received 3
Currently, a shell loop workaround is needed for this, e.g.:
# for i in a b; do mgrctl cp $i server:/root/ ; done
10:05AM INF Starting mgrctl cp a server:/root/
10:05AM INF Starting mgrctl cp b server:/root/
Hi folks,
when using
mgrctl cponly one file at the same time can be copied, e.g.:It would be handy having the possibility to copy multiple files at the same time. Currently, this is not possible as the
cpsubcommand only accepts 2 arguments:Currently, a shell loop workaround is needed for this, e.g.:
# for i in a b; do mgrctl cp $i server:/root/ ; done 10:05AM INF Starting mgrctl cp a server:/root/ 10:05AM INF Starting mgrctl cp b server:/root/