-
Notifications
You must be signed in to change notification settings - Fork 836
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wsl --import/--export does not handle paths with spaces or quoted paths correctly #3932
Comments
> wsl --import Ubuntwo C:\Ubuntu - < "C:\Program Files\WindowsApps\CanonicalGroupLimited.UbuntuonWindows_1804.2018.817.0_x64__79rhkp1fndgsc\install.tar.gz" |
Good find, I'll sort this out. |
Fixed in Windows Insider Build 18890 |
My Windows version is I have the same problem - I cannot even export. wsl -l shows:
Trying to export it:
Shows me the exact same error as above:
I tried to pipe it directly to file like this:
I suspect that the problem is with the distribution name ( |
Forgot to mention - I tried different working directories without having any positive effect. |
After upgrading Windows to
Note, that I had to omit " (Default)". I also tried that with the previous version and got an error message that Distribution with the name "Legacy" was not found. |
Your Windows build number: (Type
ver
at a Windows Command Prompt)Microsoft Windows [Version 10.0.18362.1]
What you're doing and what's happening: (Copy&paste the full set of specific command-line steps necessary to reproduce the behavior, and their output. Include screen shots if that helps demonstrate the problem.)
Both file paths should be treated correctly.
The text was updated successfully, but these errors were encountered: