It is certainly doable. Assume you have:
Then do this:
vmware-vdiskmanager.exe -r vmdk-primary.vmdk -t 0 combinedImage.vmdk
vmware-vdiskmanager.exe lives with
VMWare Player (or your chosen VMWare product).
- Once done, you will still have the original files.
- You will have to rename the
combinedImage.vmdk file to
the original file name
- Once you are happy with the new image, you can delete the old files, just make sure it works first.
This will not save any space (well maybe some very small portion) but it will get you one disk file rather than several. Alternately, you could just compress all the files and store the archive on your USB thing.
On MacOS, the same can be accomplished using
vmware-fusion which contains the
brew cask install vmware-fusion
vmware-vdiskmanager -r vmdk-primary.vmdk -t 0 combinedImage.vmdk