2

I've got 2 PCs with Linux distributions installed (one has Ubuntu 17.04 the other Mint 17.3) and I'd like to know how to transfer files between one another over my WiFi-network.

I would like to do that without having to install programs or using GUIs; I want to use the terminal.

IDK
  • 603

2 Answers2

2

Assuming, you want to transfer files from system A to system B

  • Find IP address of system A (wireless)

    ifconfig

  • Go to the directory you have the files to share

    cd /directory

  • Start that directory as HTTP server

    python -m SimpleHTTPServer

  • Go to system B and install links (terminal browser) package

    sudo apt-get install links

  • Start links with system A IP (assuming 192.168.2.1) and port which shows in third step (probably 8000)

    links 192.168.2.1:8000

  • Download whatever files you want

If security is not your concern and simply want to transfer files without any configuration, this is perfect for you, I guess.

kevy
  • 688
2

This is slightly beyond what you are asking for, but I would recommend that you install the program package openssh-server into one of the computers. I know that it is easy to install and works well in Ubuntu, because I use it.

Connect from the other computer via the program sftp to transfer files (or via ssh to log in and run programs remotely). This can be done completely via the command line (in a terminal which you wish now, or via GUI program if you wish later on).

These backup tools are designed to work well with an ssh server: rsync and Clonezilla.

The following links describe installing openssh-server and using sftp, ssh with more details,

sudodus
  • 47,684