Created
May 18, 2022 23:56
-
-
Save jacricelli/cb8f088913ec39cbd8d83c66037e6c66 to your computer and use it in GitHub Desktop.
wsl - reclaim free space
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/microsoft/WSL/issues/4699#issuecomment-627133168 | |
# | |
wsl --shutdown | |
diskpart | |
# open window Diskpart | |
select vdisk file="C:\WSL-Distros\…\ext4.vhdx" | |
attach vdisk readonly | |
compact vdisk | |
detach vdisk | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment