Skip to content

Commit 7d6c960

Browse files
authored
Update README.md
1 parent 0f36f7f commit 7d6c960

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

README.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,34 @@
11
# Move WSL
22

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

55
![Interactive Example](screencast.gif)
66

77
## Usage
88

9-
### Bash script
10-
_This is the recommended version_. Use with git bash for Windows or similiar.
9+
### Bash
10+
Use with git bash for Windows or similiar.
1111

1212
#### Interactive way
1313
1) `./move-wsl`
1414
2) Select your distro
15-
3) Enter your target
15+
3) Enter your target (i.e. `/d/wsl target/ubuntu`)
1616

1717
#### Explicit way
1818
1) Get a list of WSL distros: `wsl -l`
1919
2) Move your image: `./move-wsl [NAME] [LOCATION]`
2020

2121
__Example:__ `./move-wsl docker-desktop /d/docker`
2222

23-
### Batch script
23+
24+
### PowerShell
25+
Interactive way of moving wsl for Windows PowerShell.
26+
27+
1) `./move-wsl.ps1`
28+
2) Select your distro
29+
3) Enter your target (i.e. `D:\wsl target\ubuntu`)
30+
31+
### Batch
2432
_This is a lightweight version_ which can also be used from Windows CMD.
2533

2634
1) Get a list of WSL distros: `wsl -l`

0 commit comments

Comments
 (0)