dirsynch
what is it?
Dirsynch is a tool for synchronizing directories. Directories to be synchronized can be located on a computer's file system or on an FTP server. Personally, I use the tool to upload new versions of my homepage to FTP servers.
what exactly does synchronization mean?
Imagine two directories, named SOURCE and DESTINATION. Each of these directories may contain a number of files and subdirectories.Typical examples of a SOURCE directory is a collection of HTML files and images located on a computer's file system. Together these files constitute a website. A typical example of a DESTINATION directory is the location at the FTP server where these files should be uploaded to make it available on the Internet.
The result of synchronization is that all files in DESTINATION are exactly the same as the files in SOURCE. This could be obtained by deleting all files from DESTINATION and then copying all files from SOURCE to DESTINATION.
However, copying all files might consume a lot of time and, when using a slow modem to upload files to an FTP server, a lot of money. When mainting a website, typically a few files change per day or week.
A smarter way to synchronize is to just uploade the files that have been created or changed since the previous synchronization and delete the files that have been deleted from the SOURCE directory since the previous synchronization. This is exactly what the dirsynch tool does.
The dirsynch tool allows both SOURCE and DESTINATION directories to be located on the computer's file system or on an FTP server.
download
Feel free to download the dirscynh tool. Click here to download version 0.6 of the tool. After unzipping the downloaded file, you can start the tool by typing java -jar dirsynch.jar.
If the tool is not supplied with any arguments when started, it shows the usage instructions.
A Java Runtime Environment version 1.4 or higher is required to run this tool. You may download a Java Runtime Environment from Sun's website.
releases
| release | date | notes |
|---|---|---|
| 0.6 | July 18, 2005 | Fixed bug that prevented FTP file systems to be searched when directories are nested deeper than 2 levels. |

