Skip to content

Commit 8b770f0

Browse files
authored
Update README.md
1 parent 0ef948f commit 8b770f0

File tree

1 file changed

+1
-27
lines changed

1 file changed

+1
-27
lines changed

README.md

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,17 @@
1-
*⚠️ This project is no longer maintained as the owner moved to a different OS. If you'd like to take over ownership [please contact me]([email protected]).*
2-
31
# Move WSL
42

5-
Bash, batch and PowerShell script to move WSL 1 and WSL 2 distros VHDX file to a different location.
3+
PowerShell script to move WSL 1 and WSL 2 distros VHDX file to a different location.
64

75
![Interactive Example](screencast.gif)
86

97
## Usage
108

11-
### Bash
12-
Use with git bash for Windows or similiar.
13-
14-
#### Interactive way
15-
1) `./move-wsl`
16-
2) Select your distro
17-
3) Enter your target (i.e. `/d/wsl target/ubuntu`)
18-
19-
#### Explicit way
20-
1) Get a list of WSL distros: `wsl -l`
21-
2) Move your image: `./move-wsl [NAME] [LOCATION]`
22-
23-
__Example:__ `./move-wsl docker-desktop /d/docker`
24-
25-
26-
### PowerShell
279
Interactive way of moving wsl for Windows PowerShell.
2810

2911
1) `./move-wsl.ps1`
3012
2) Select your distro
3113
3) Enter your target (i.e. `D:\wsl target\ubuntu`)
3214

33-
### Batch
34-
_This is a lightweight version_ which can also be used from Windows CMD.
35-
36-
1) Get a list of WSL distros: `wsl -l`
37-
2) Move your image: `move-wsl.bat [NAME] [LOCATION]`
38-
39-
__Example:__ `move-wsl.bat docker-desktop "D:\wsl files\docker"`
40-
4115
## Moving Docker WSL
4216

4317
Before moving Docker WSL make sure to stop the Docker service. Otherwise Docker will crash and you may need to reset it to factory defaults.

0 commit comments

Comments
 (0)