F
F
Filipp422021-06-07 16:34:38
Data synchronization
Filipp42, 2021-06-07 16:34:38

How to sync pc on linux?

There are two computers on Manjaro, you need to transfer files from one computer to another. I don't want to mess around with flash drives or set up complex file sharing servers. Is there a way to quickly transfer files with one program, like through KDE Connect (maybe it will fit)?
Thanks

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Romses Panagiotis, 2021-06-07
@romesses

man rsync

R
rPman, 2021-06-07
@rPman

ssh + tar, both utilities are available on almost any linux, use something like this:

tar -cf - . | ssh [email protected] "cd /destination;tar -xf -"

if you don’t want to spend a processor (if it’s weak) on traffic encryption, you can do the same using the netcat (nc) utility
ps lack of approach, poor handling of disconnections, but this is not critical for a local network

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question