摘 要: 为了让文件夹能够实时得以同步,需要一个工具不停地监控两个文件夹的异同,该工具实现了一个专门的 Windows服务来实现文件夹的同步功能。本文主要描述文件夹同步服务程序的技术研究指定要同步的源文件夹,同步 到的目标文件夹,设置同步项目、同步时间间隔,服务程序将根据指定的分钟数自动进行文件夹的同步。当同步服务完 成后,可以看到同步的状态信息,比如已更新的文件个数或已删除的文件个数等。 |
关键词: 文件夹;同步;监控;Windows服务 |
中图分类号: TP312
文献标识码: A
|
|
Technology Research of Realization of Folder Synchronization Making Use of Windows Service |
ZOU Jun
|
( Suzhou Agricultural Vocational College, Suzhou 215008, China)
|
Abstract: In order to allow the folder to be synchronized in real time,a tool is needed to monitor the similarities and differences between the two folders,which implements a dedicated Windows service to achieve the synchronization of folders.The paper mainly describes the folder synchronization service program,designated to synchronize the source folder, synchronized to the target folder,set the synchronization,the synchronization interval,service procedures will be according to the specified number of minutes automatic folder synchronization.When the synchronization service is complete,you can see the status of the synchronization information,such as the number of files that have been updated or deleted files,etc.. |
Keywords: folder;synchronization;monitor;windows service |