It is still relatively cumbersome to transfer data between two computers through a USB flash drive. For daily small file transfer needs, you can set a folder on Ubuntu as a share and map the shared folder to a disk on Windows. Therefore, data can be exchanged through a folder that can be opened by both Win and Ubuntu.
In fact, the operation is also very simple. I refer to the installation and configuration of the Samba service on buntu . After successful implementation, I will make a brief summary here. The process is:
- Two computers on the same LAN
- Install Samba, a free software based on the SMB communication protocol for sharing files and printers on a local area network.
- Create a file share
- Create a remote login account and add the account to the group of the user who owns the shared folder
- Modify the configuration file (the path of the folder can be queried through the pwd command)
- Add the shared folder in win10 and map it as a disk