I've just created this tool to better compact Virtualbox VDI files.
The tool works a bit like
Code: Select all
VBoxManage modifyhd --compact
Code: Select all
sdelete.exe -z
In this firts version the tool only understands NTFS inside the VDI file, but other filesystems are planned (like ext2/3/4, FAT32 ..).
The tool is open source (GPL) and can be found in https://github.com/fmpfeifer/VICompactor
Best regards,
Fabio