let`s say I have a VM with several snapshot created by pve-autosnap (https://github.com/kvaps/pve-autosnap)
for some reason , I need to move the disk to another storage , so I try to use shell to delete the snapshot first.
and then I try
still the same error : 400 too many arguments
so , I`m wondering , is there any way to batch delete snapshot in shell or maybe in GUI ?
for some reason , I need to move the disk to another storage , so I try to use shell to delete the snapshot first.
root@empmv02:/zpssd480/images/113# qm listsnapshot 105 | awk {'print $1'} |xargs
autodaily190213 autodaily190216 init_clone autodaily190218 autodaily190214 autodaily190212 autodaily190217 ansible24_with_python2_and_python3 autodaily190215 current
root@empmv02:/zpssd480/images/113# qm listsnapshot 105 | awk {'print $1'} |xargs qm delsnapshot 105
400 too many arguments
qm delsnapshot <vmid> <snapname> [OPTIONS]
xargs: qm: exited with status 255; aborting
and then I try
qm delsnapshot 105 autodaily{12..20}
still the same error : 400 too many arguments
so , I`m wondering , is there any way to batch delete snapshot in shell or maybe in GUI ?