You can try what is in the answers, but with dd it is actually known to overwrite the entire file and not just delete the file pointer like a normal delete will do. dd is also known as disk/data duplicator or disk destroyer because of the way that it handles data. So your .vdi file may not be recoverable.
– TerranceSep 02 '23 at 14:38
dd
it is actually known to overwrite the entire file and not just delete the file pointer like a normal delete will do.dd
is also known as disk/data duplicator or disk destroyer because of the way that it handles data. So your.vdi
file may not be recoverable. – Terrance Sep 02 '23 at 14:38