A
A
Andrey Surname2015-09-28 12:01:45
Programming
Andrey Surname, 2015-09-28 12:01:45

Synchronizing files server-computers on the local network?

The bottom line is, there is a server with a program and a folder, let's say user1 (where updated program files are downloaded manually) and there are 200 computers half of which work in the program, updating on each computer is done manually on each computer by copying files from the user1 folder to the root of the folder where it is installed program, the question is how can this be automated ???
I will consider any options for help, recommendations, interpretations of how to do it myself, I'm tired of running like this every two weeks ....
I explain the essence of the issue. The program is state-owned, third-party programs for these actions are not desirable, but the general essence is that different information is introduced into the program, a lot of people who have it (client), they periodically throw updated files of this program (client version) on my soap, I need to go through all computers and throw these files into the root of the program i.e. replace old files with new ones, it's about 100 computers, and it doesn't matter how I do it: from a flash drive, from some network folder, from a disk, it doesn't matter, the main thing is to replace it. I want to somehow automate this process (just the most interesting). And answering Sergey's question, you can run the client at least twenty times on one computer, and the size of the client files is about 300MB.
ps Thanks for the provided answers-options, I will torment - BRAIN....)

Answer the question

In order to leave comments, you need to log in

6 answer(s)
A
Alexander Slyzhuk, 2015-09-28
@kisik83

1. Create a batch file on the server:

copy c:\user1\*.* \\PCname\c$\user1\

Create a task in the task scheduler, specify a batch file, set the execution time.
Or on each computer a batch file:
copy \\ServerName\ShareName\*.* c:\user1\

and add a checkmark "Run when logged in"
2. Backup - easy to configure.

I
Ivan, 2015-09-28
@LiguidCool

Syncthink, BitTorrent Sync.

A
argumentum, 2015-09-28
@argumentum

If you need to reduce traffic and not copy files that already exist in the target directory, use the robocopy command in the batch file.
See
zheleznov.info/backup_mirror.htm
www.celitel.info/klad/nhelp/helpbat.php?dcmd=robocopy

T
torr2009, 2015-09-28
@torr2009

Windows has the concept of "offline files" or "offline files".
Can be tailored to your needs.
It is configured using group policies.

A
Andrey Surname, 2015-09-29
@kisik83

Everything is fine, but I did not understand what I should write in quotes? copy \\ServerName\ShareName\*HERE????* c:\user1\

D
Dmitry Baksheev, 2015-09-29
@baksheevdv

*.* means the entire contents of the "ShareName" directory. You can specify a specific file or mask, for example:
"test.*" - all files named test, be it jpg or txt
"*.txt" - all files with txt extension

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question