Resize VirtualBox images vdi

How to resize your VirtualBox VDI files?VBoxmanage modifyhd MyLinux.vdi –resize 100000

100gb

GParted:
http://gparted.sourceforge.net/livecd.php