You can only connect two computers via USB using a special data transfer cable, a plain USB-USB connection would damage one or both computers. Alternatives are a crossover patch ethernet cable directly connecting both computers or by sharing folders over a home network, or using cloud storage such as google drive with a shared link for different people or by simply logging into the same account across different computers
HTH