okibcn / wslcompact

Compacts the size of the ever-growing WSL vhdx images.
https://github.com/okibcn/wslcompact
GNU General Public License v3.0
805 stars 19 forks source link

Cannot create a file when that file already exists #17

Closed codegod100 closed 1 year ago

codegod100 commented 1 year ago

The operation completed successfully. New Image compacted from 14140 MB to 10394 MB Do you want to apply changes and use the new image (y/N): y Move-Item: C:\Users\veron\scoop\apps\wslcompact\current\wslcompact.ps1:104 Line | 104 | … Move-Item "$tmp_folder/$wsl_distro.vhdx" "$wsl_path/ext4. … | ~~~~~~~~~~~~~ | Cannot create a file when that file already exists. Image replaced for distro: Ubuntu

codegod100 commented 1 year ago

Worked when I ran a second time 🤷‍♀️