曾经想保持两个不同位置的两个文件夹实时同步吗?也许您的台式机或笔记本电脑上有一个文件夹,并且您想将其与家中的另一台 PC 或(desktop or laptop)USB硬盘等外部存储设备或网络连接(storage device)存储设备(storage device)( NAS ) 同步?
有很多免费软件程序可以帮助您同步两个文件夹,但很少有人能很好地实时同步文件夹。我所说的实时是指用户(user doesn)不必手动打开程序并运行同步,也不必等待程序重复运行。
在本文中,我将写一个免费软件程序,您可以使用它来设置存储在不同位置的两个文件夹之间的实时同步。这对于备份目的或如果您在团队中工作并希望避免使用Dropbox 或 Google Drive(Dropbox or Google Drive)等云服务很有用。
同步
Dsynchronize是由(Dsynchronize)波兰(Poland)的某个开发人员编写的免费软件程序,其网站看起来像是 1990 年代的!但是,不要以封面来判断一本书,因为他编写的程序非常出色。
首先,当您访问上述链接时,您必须向下滚动一点才能找到正确的程序。起初我以为我在错误的网站上,因为我一直在阅读他的第一个名为Dspeech的程序。向下滚动(Scroll)过去并过去Dshutdown,您将看到Dsynchronize。
如前所述,这是一个看起来很糟糕的网站。值得庆幸的是,该软件是干净的,不包含任何垃圾软件、恶意软件、广告等。下载ZIP 文件(ZIP file)后,请继续提取所有文件,然后运行应用程序文件(application file)。
首次运行应用程序时,您会在顶部看到两个框,分别表示source 和 destination(source and destination)。我们需要先配置这些。
选中 Sources 框,然后按Enter。您现在会看到两个按钮出现在右侧:Filter和Browse。
单击浏览(Browse)按钮并选择您的第一个文件夹。选择后,如果要排除某些类型的文件或排除子文件夹,可以单击“过滤器”按钮。(Filter)如果您希望所有内容同步,请不要担心过滤器按钮(filter button)。
现在我们选择了两个文件夹,我们可以开始配置选项。默认情况下,仅当您单击“同步(Synchronize)”按钮时,同步才会起作用。根据文档,您应该在启用实时同步之前先执行正常同步。
但是,在我们执行任何同步之前,让我们配置选项。首先,如果您想在两个文件夹之间保持同步更改,您应该选中双向同步(Bidirectional synchronization)。这也将自动启用仅复制较新的文件(Copy only newer files)框。我还建议检查创建文件夹(如果不存在(Create folder if not exists)),这样当您在一个文件夹中创建新文件夹时,它会自动在另一个同步文件夹中创建相同的文件夹。
另一个重要的选项是备份更改(Backup Changes)。如果您想保留多个版本的更改以防万一您不想删除某些内容或您想查看文档的以前版本等,这很有用。(t mean)
还有其他几个选项,这些选项是不言自明的。如果您感到困惑,请务必阅读位于应用程序解压缩文件夹中的TXT 文件。(TXT file)
继续并单击同步(Synchronize)按钮以完成一次同步。完成此操作后,您现在可以进行一些更改,然后进行另一次同步以确保它以您想要的方式工作。
为了获得实时同步,您必须选中特殊选项下的(Special options)实时同步(Realtime sync)框。现在,如果您打开程序窗口(program window)并开始添加、删除或更新源或目标文件夹(source or destination folder)中的文件,您将看到这些文件夹会自动更新,无需任何用户干预。
这仍然不理想,因为您必须保持程序窗口(program window)打开,但开发人员足够聪明,可以理解这一点。在Timer sync下,您还需要检查两个选项:Autostart和Autostart as service。
当您尝试检查Autostart 按钮(Autostart button)时,您将收到一条消息说您必须以管理员(Administrator)身份启动Dsynchronize。为此,请关闭程序,然后右键单击应用程序文件(application file)并选择Run as Administrator。
现在您应该能够在没有消息的情况下选中自动启动(Autostart) 框。接下来,选中Autostart as service框,您将看到一个弹出窗口,您必须单击Install Service按钮。
完成此操作后,“启动服务(Start Service)”按钮将变为可单击。单击(Click)它,不要担心Account、Password等。只需(Just)确保选中System Account即可。(System Account)单击完成(Done),您应该会看到程序现在说它正在作为服务运行。
而已!现在关闭程序并开始更新、添加或删除文件夹中的数据,并观察这些操作会立即同步到另一个文件夹。
总体而言,该程序在我的测试中运行得非常好,速度给我留下了深刻的印象,而且我可以保留更改的备份并查看所有更新、添加或删除的日志文件。(log file)如果您有任何问题,请随时发表评论。享受!
How to Sync Two Folders in Real Time in Windows
Ever wanted to keeр two folders in two different locations synchrоnized in real-time? Maуbe you have one folder on yоυr desktop or laptop and yoυ want to sync it with another PC in your home or to an external storage device like a USB hard disk or to a network attached storage device (NAS)?
There are lots of freeware programs out there that can help you sync two folders, but very few of them do a good job of syncing the folders in real time. What I mean by real-time is that the user doesn’t have to manually open the program and run the synchronization or have to wait for the program to run on a recurring basis.
In this article, I’m going to write about a freeware program that you can use to setup real time syncing between two folders stored in different locations. This is useful for backup purposes or if you are working in a team and want to avoid a cloud service like Dropbox or Google Drive.
Dsynchronize
Dsynchronize is a freeware program written by some developer in Poland whose website looks like it is from the 1990’s! However, don’t judge a book by its cover because the programs he writes are excellent.
Firstly, when you visit the above link, you have to scroll down a bit to get to the correct program. At first I thought I was on the wrong website because I kept reading about his first program called Dspeech. Scroll down past that and past Dshutdown and you’ll see Dsynchronize.
As previously noted, it’s a pretty bad looking website. Thankfully, the software is clean and doesn’t contain any junkware, malware, ads, etc. Once you download the ZIP file, go ahead and extract all the files and then run the application file.
When you first run the application, you’ll see two boxes at the top for source and destination. We need to configure those first.
Check the box for Sources and then press Enter. You’ll now see two buttons appear at the right: Filter and Browse.
Click the Browse button and choose your first folder. Once selected, you can click on the Filter button if you want to exclude certain types of files or to exclude subfolders. If you want everything synced, then don’t worry about the filter button.
Now that we have our two folders selected, we can start configuring the options. By default, syncing will only work when you click on the Synchronize button. According to the documentation, you should perform a normal sync first before you enable real-time syncing.
However, before we perform any sync, let’s configure the options. To start, if you want to keep changes synced between both folders, you should check Bidirectional synchronization. This will automatically enable the Copy only newer files box too. I also recommend checking Create folder if not exists so that when you create a new folder in one folder, it will automatically create the same folder in the other synced folder.
Another important option is Backup Changes. This is useful, if you want to keep several versions of the changes in case you didn’t mean to delete something or you want to see previous versions of a document, etc.
There are several more options, which are self-explanatory. If you are confused, make sure to read the TXT file that is located in the folder where the application was unzipped.
Go ahead and click the Synchronize button to complete one sync. Once you have done this, you can now make some changes and then do another sync to make sure it’s working the way you want.
In order to get the real-time sync, you have to check the Realtime sync box under Special options. Now if you leave the program window open and start adding, removing or updating files in the source or destination folder, you’ll see that the folders are updated automatically without any user intervention.
This is still not ideal because you have to keep the program window open, but the developer was smart enough to understand that. Under Timer sync, there are two more options you need to check: Autostart and Autostart as service.
When you try to check the Autostart button, you will get a message saying you have to start Dsynchronize as an Administrator. In order to do this, close the program and then right-click on the application file and choose Run as Administrator.
Now you should be able to check the Autostart box without the message. Next, check the Autostart as service box and you’ll get a popup where you have to click the Install Service button.
Once you do that, the Start Service button will become clickable. Click on that and don’t worry about Account, Password, etc. Just make sure System Account is checked. Click Done and you should see the program now says it’s running as a service.
That’s it! Now close the program and start updating, adding or deleting data from your folders and watch as those actions are instantly synced to the other folder.
Overall, the program worked really well in my tests and I was impressed with the speed and also the fact that I could keep backups of the changes and see a log file of everything that was updated, added or deleted. If you have any questions, feel free to post a comment. Enjoy!