copy file from window to ubuntu

I have a STL file in my c drive "Window", and I was trying to copy that file to the Ubuntu, however it shown error message, what should I do?

enter image description here

4

2 Answers

First, please do not copy text as pictures.

Second, you're attempting to copy the file to /triSurface, which is probably not a directory that exists, nor should it exist.

Your users files are typically in /home/username/, often abbreviated ~.

You probably want to copy the file to ~/triSurface/, not /triSurface. If ~/triSurface does not exist, you can create the directory with mkdir ~/triSurface.

In general only root is able to modify files outside of /tmp and your home directory. /tmp is, as name indicates, used only for temporary files, and not intended for persistent storage.

1

Use :

cp /mnt/c/Users/leewp/Desktop/cylinder3.stl triSurface/

Because you are already on the path. And the triSurface already excist. Except if you really want to make /triSurface. Which i would not recommend.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like