Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2810

Attempting to move folder from C drive to folder in WSL/Ubuntu

$
0
0

I am making a website for my online book/media business, and I have some photos on my C drive (cover photos) that I would like to copy into my project directory in VSCode via WSL.

The file is stored in /mnt/c/Users/etc/Downloads. As I would still need to have this folder in C, I probably would just need to copy the contents of the folder and move it to an already made directory in my WSL project.

I have tried to make a directory in my WSL project via WSL with mkdir and then copy the contents of the file when I am on the path /mnt/c via cp. I have tried to move it into the folder in WSL with mv but it has not worked.

I have been at this for over a week now with no success. I have tried to find YouTube videos on it, and I have tried to get books on git from the library. Either the really good books are checked out, or the books I have do not address this issue.

So, for example, I would make a directory in my current VSC project via WSL with mkdir bookphotos. Then I would use the terminal to go to the mnt/c/Users/ path until I found my folder with my cover photos. I would then try to copy that folder with cp and move it to the WSL directory. It has not worked. Some help would be appreciated.

The full path to the folder is /mnt/c/Users/warriors/bookphotos when I am in the Ubuntu/WSL terminal. The project in VSC that I would like to move the folder into is /home/sixwarriors/booksbusiness - that is the directory where I have my html/css/javascript code. I would like to copy the bookphotos folder and move it into the booksbusiness directory so that I can use the stock photos on there.


Viewing all articles
Browse latest Browse all 2810

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>