- #1
nashed
- 58
- 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?
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.
There are a few different methods for automatically moving files between computers. One option is to use a cloud storage service, such as Dropbox or Google Drive, which will automatically sync files between devices. Another option is to set up a network file sharing system, which will allow you to access files from one computer on another computer on the same network. You can also use a file transfer protocol (FTP) program to automatically transfer files between computers over the internet.
Yes, you can set up scheduled tasks or scripts to automatically transfer files between computers at specific times. This can be done using built-in tools on your operating system, or through third-party software. Make sure to carefully schedule and test these tasks to ensure they are working correctly.
Yes, there are some security risks to consider when setting up automatic file transfers between computers. For example, if you are using a cloud storage service, make sure to use strong passwords and enable two-factor authentication to protect your files. If you are using a network file sharing system or FTP, make sure to secure your network and use encryption to protect your files from being intercepted.
Yes, in most cases, you can set up filters or rules to automatically transfer specific types of files between computers. For example, you can set up a rule to automatically transfer all image files from one computer to another. This can be useful for organizing and managing large amounts of files.
If there is an error during an automatic file transfer, it will depend on the method you are using. In some cases, the transfer may fail and you will need to manually retry or troubleshoot the issue. If you are using a cloud storage service, the files may still be accessible on the service's website. It is important to regularly check and monitor your automatic file transfers to ensure they are working correctly.