Copy Files from Windows to the Ubuntu Subsystem [closed]

て烟熏妆下的殇ゞ 提交于 2019-12-02 14:48:20

You should be able to access your windows system under the /mnt directory. For example inside of bash, use this to get to your pictures directory:

cd /mnt/c/Users/<ubuntu.username>/Pictures

Hope this helps!

You should only access Linux files system (located in lxss folder) inside WSL, DO NOT create/modify any files in lxss folder in Windows, it's dangerous and WSL will not see these files.

If you want files can be shared between WSL and Windows, please put the file outside of lsxx folder. You can access them via drvFS (/mnt) such as /mnt/c/Users/youusername/files within WSL and modify them in Windows.

For details and why, see: https://blogs.msdn.microsoft.com/commandline/2016/11/17/do-not-change-linux-files-using-windows-apps-and-tools/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!