Support Forums
2007-04-12 : Non-lossy sync?
I just bought fsync from you. Sadly, I've been putting off the task of automating my website updates for years. Occasionally during that time I've done things like upload pictures from nonstandard directories (or even from other computers), which means that by now my hosted directory is NOT a perfect shadow of my local one. That said, I don't want to lose the things currently on the server.
Does fsync support a sync of the two directories that will not throw away things that exist on the server but not the local machine? Better yet, could I use it to GET the files that are on the server but not my local machine, without deleting any files anywhere until I clean up my mess?
Syncing is sort of like merging, and in any merge people usually want the option to accept "this" edit or "that" edit. If fsync does not currently have these things, I'll deal; my mess is my own fault. But this sort of thing might be a nice extension for future releases.
Comments
| Date | Name | Comment |
|---|---|---|
| 2007-04-13 | Alex Le Dain |
Hi Rachel,
Yes it would be a good feature. At this stage Fsync doesn't support a merge or download facility. It was really designed for updating web or ftp sites after making local changes. There are many reasons behind such a decision, mostly with the complexity of dealing with a non empty local target, prompting for overwrites, etc :-) The download option is on the agenda, but not any time soon. What I would do is use is a recursive ftp program or command line utility to download your entire website to your local disk. On a *nix machine there is wget, and from a quick Google here is a windows version: http://pages.interlog.com/~tcharron/wgetwin.html Note that I haven't tried this program, but if it works as well as the *nix version, then it's quite simple to point at your ftp or web site and pull it all down to your local disk. In the mean time, I will add a feature to Fsync that will create the necessary Fsync database so you can run Fsync without requiring an upload of all the information back up to your site. Alternatively you could run Fsync, but depending on your connection, etc it may take some time :-) |
Post New Comment
All html codes are stripped.
* Email addresses are never published.
