Can `parted` move a partition like `gparted`

gpartedparted

I saw in https://unix.stackexchange.com/a/501410/ that gparted can move a partition in a disk.

Since gparted is said to be a frontend of parted, what is the corresponding command(s) using parted to move a partition anywhere? Sorry, I only know parted has resizepart which only changes the end of a position, instead of moving a whole partition.

Thanks.

Best Answer

parted used to be able to move partitions and resize (certain) file systems, but this feature was removed in version 3.0 because it was deemed to difficult to maintain.

Related Question