You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-27Lines changed: 1 addition & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff 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
-
3
1
# Move WSL
4
2
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.
6
4
7
5

8
6
9
7
## Usage
10
8
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
27
9
Interactive way of moving wsl for Windows PowerShell.
28
10
29
11
1)`./move-wsl.ps1`
30
12
2) Select your distro
31
13
3) Enter your target (i.e. `D:\wsl target\ubuntu`)
32
14
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]`
0 commit comments