Ubuntu – Access an Ubuntu (WSL) folder from Windows


I am using Ubuntu on Windows 10. I've created a user id and there I created some folders. Now I want to copy those folders to my Windows folder in, say, E: drive. How can I get access to the folder that I created in Ubuntu in the Windows interface? I made that folder in /home/user/directory.

Best Answer

All Windows' disks are available through /mnt/, so you can copy it to E: using Bash:

cp -r /home/user/direcory /mnt/e

Root of Ubuntu is located at %LOCALAPPDATA%\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs.