Does this answer your question? [How to recover deleted files?](https://askubuntu.com/questions/3883/how-to-recover-deleted-files)
– karelSep 02 '23 at 14:07
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