nashed
- 56
- 5
I have a system of 3 PCs all connected to the same router, I need some way to automatically move files from two PCs to the third, how do I even begin to approach this?
The discussion revolves around finding an automatic method to transfer files between multiple PCs connected to the same network. Participants explore various approaches, tools, and configurations suitable for both Windows and Linux systems, considering the need for offline operation due to the sensitivity of the files involved.
Participants express various viewpoints on the best method for automatic file transfer, with no consensus reached. Some solutions are contested, and different approaches are suggested based on system configurations and requirements.
Participants highlight limitations related to the need for offline operation and the sensitivity of the files, which restrict the use of certain cloud-based solutions. There is also mention of unresolved issues regarding file versioning and the appropriateness of different tools for the task.
Folks have forgotten about the good old days when you could actually share a drive with another computer.Vanadium 50 said:Why don't you just share a disk on the "master" PC? See the NET SHARE/NET USE commands. Then have all the PCs write to it. This will work so long as you don't also have a need to duplicate file names.
I like Serena said:If they are all linux (and even if they are not), we can use the ssh suite of utilities that are included by default.
More specifically 'scp' (secure copy) will copy files or directories securely from one computer to the other.
Nope. OP asked specifically to automatically move files from 2 PCs to a third.jedishrfu said:I think what the OP is looking for is a means to maintain the files at the same level on each machine meaning if it’s changed on one then it gets replicated onto other machines. Using scp will copy the files to or from another machine but it can’t check whether it’s newer or older than the target and so may copy an older version onto a newer version.
As others have mentioned you should setup a master copy on one machine and have each machine run a script to do timestamp compares and decide whether to copy the file to the local machine or not.