[LINUX] Bring files in Windows to WSL

It is a memorandum. Please comment if there is something wrong.

usage environment Windows 10 home Ubuntu 20.04 on WSL

I want to bring files handled by Windows to WSL.

1 / mnt / just attach

When moving files cd / mnt / "Here is the absolute path in Windows ()"

You can get to the desired folder in Windows by typing. (Example: cd / mnt / c to reach C :)

Use this to move to the folder with the files

2 Copy the file with the cp command

After moving with 1

cp file name "Absolute path of save destination on WSL side"

If you enter, the file will be copied to the specified folder as it is (no renaming)

(Example: cp program.java ~) Will copy program.java to the top directory of WSL.

Recommended Posts

Bring files in Windows to WSL
Goodbye to the command prompt in WSL, VSCode and Windows Terminal
Control files to build in Golang project
How to read CSV files in Pandas
Various ways to execute .py files on Windows
Convert FBX files to ASCII <-> BINARY in Python
Summary of how to import files in Python 3
Convert UTF-8 CSV files to read in Excel
How to check / extract files in RPM package
Organize files on Windows with Linux commands-using WSL-
How to get the files in the [Python] folder
Batch convert PSD files in directory to PDF
I tried to build an environment with WSL + Ubuntu + VS Code in a Windows environment
install diagrams in wsl
Linux (WSL) on Windows
Transition from WSL1 to WSL2
How to load files in Google Drive with Google Colaboratory
virtualenvwrapper in windows environment
How to use variables in systemd Unit definition files
How to download files from Selenium in Python in Chrome
How to add page numbers to PDF files (in Python)
How to use jupyter lab in Windows 10 local environment
How to upload files in Django generic class view
Introducing WSL (Ubuntu 18.04) to WIndows10 ~ Proxy environment second part ~
Fixed a way to force Windows to boot in UEFI
How to reference static files in a Django project
2 ways to read all csv files in a folder
Force luigi to do parallel processing in windows environment
How to set up Ubuntu for Windows Subsystem for Linux 2 (WSL2)
How to use VS Code in venv environment on windows
[R] [Python] Memo to read multiple csv files in multiple zip files
Double-click ipynb in windows + anaconda environment to open with jupyter-notebook
How to implement Python EXE for Windows in Docker container
Batch convert all xlsx files in the folder to CSV files
Allow Python to select strings in input files from folders
Summary of how to write .proto files used in gRPC
Command to list all files in order of file name
[Windows] RDP to Windows via Linux
Covector to think in function
How to install Python [Windows]
To flush stdout in Python
Login to website in Python
Use Windows 10 fonts with WSL
Search for strings in files
Play WAVE files from WSL
Speech to speech in python [text to speech]
Easy way to rename files
How to develop in Python
Python install in 2 lines @Windows
Use Linux on Windows 10 (WSL2)
Upload multiple files in Flask
Embed wav files in Jupyter
Post to Slack in Python
How to display a specified column of files in Linux (awk)
Convert files written in python etc. to pdf with syntax highlighting
How to use functions in separate files Perl and Python versions
Until Windows Subsystem for Linux (WSL) is installed in Windows and fish is installed
Regularly upload files to Google Drive using the Google Drive API in Python