SectorPrime |
Online directory listing service. |
||||||||||||||||||||||||
|
spSync - Free command line file and folder synchronizationDownload spSync-1.3.zip (1.5MB). This is a command-line program for synchronizing folders - between two folders across a network share, your PC and an ftp site, even between two ftp sites! Really important README to avoid being sad or mildly frustratedThis is a synchronization program. Once two folders are synchronized, re-running the program wll keep them synchronized. If you delete content on one side, it will delete the content on the other side [*]. Do not think "Oops, this document is wrong. I'll delete it and next time I synchronize I'll get the previous version back". You won't. Your deletion will be synchronized and you will also delete the document on the other side. This could make you sad. Instead, you should manually copy the document from the other side. [*] Okay, it's not quite that bad. Whenever a file or folder would get replaced or deleted, they actually get renamed to something like file.spSync.lhs-deleted (in this case, meaning this file was 'deleted' because the file on the left-hand side was deleted). Renaming the file will get it back again, so you'll probably get mildly frustrated rather than sad. Unless you specify the --nosafe option. Then it really will be deleted, and you really could get sad. Please don't do that. We want you to be happy, not sad. UsagespSync-1.3.exe --lhs <folder> --rhs <folder>
Examples of <folder>
"file:C:\Documents and Settings\name\My Documents" Options
Note that double-quotes can be omitted if the item does not contain spaces. Understanding the outputspSync keeps two folders synchronized, and if that's enough for you to know than you need not read any further. But some people like to see what's being done and why, and so spSync outputs and logs it's progress. The output typically looks like this: ^ ---> o "file.doc" copy to "file:\\myserver\myfolder" [f211] Here's how the output breaks down: The arrow^ ---> o The actual arrow bit in the middle tells you in which direction the synchronization was being done (in this case, from the left-hand side to the right-hand side). The symbols on either end tells you the state of the file on that side. Here's what they mean:
The text"file.doc" copy to "file:\\myserver\myfolder" This tells you exactly what's happening. The code[f211] This is a short-hand description of how spSync perceived the situation. The f says it's looking at a file (d would mean directory). Then there are three numbers, representing the relative modification dates of the files - on the left-hand side, the last time they were synchronised, and on the right-hand side. In this case, the file on the right-hand side is unchanged since the last time the files were synchronized, whilst the file on the left-hand side is newer. Some random details
The legal bit: This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. If you have any problems using this resource, or any suggestions on how it could be improved, please feel free to contact us. |
||||||||||||||||||||||||
|
Add link, exchange links... list your site. |
|||||||||||||||||||||||||