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 centers on automating file transfers between three PCs connected to the same router, specifically moving files from two PCs to a third. Users suggest various methods including using OneDrive, Google Drive, and Dropbox for cloud solutions, but these are not suitable for offline systems. For local solutions, tools like Robocopy.exe on Windows, NET SHARE/NET USE commands, and the scp command from the SSH suite are recommended for file synchronization. Additionally, implementing a scheduled job with FTP or using Git for version control is proposed for maintaining file consistency across machines.
PREREQUISITESSystem administrators, IT professionals, and anyone managing multiple PCs that require automated file transfers and synchronization in a local network environment.
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.