Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Synchronization of config files and documents among several PCs
#1

At first I thought about creating a file synchronization tool in PHP myself, but then I read about synchronization and it looked like I'd have to spend a whole lot of my time fixing some special cases, so I googled more and found about SparkleShare. The main advantage is that it can use your own server - no data are sent to clouds (NSA), all data are on all PCs, not just opened remotely on the server (or in some cache).

SparkleShare


You can create a GIT repository on your own linux server using included dazzle tool. This tool installs GIT if needed, creates a new user storage for this purpose and adds authorized keys created on client machines. It can also add more trusted key fignerprints - more clients. And finally it creates shares (projects). After a share is created, you can "mount" it on your client machines. SparkleShare watches for changes and after they are saved completely, they are automatically transferred to the server.

Now for the fun part.. download and install Link Shell Extension and use hardlinks to mirror requested config files to app data locations. On other machines, remove the current config files and create hardlinks to the mounted locations. The only downside is you can't synchronize Windows registry changes, so if you plan to synchronize eg. PuTTY, you need to use a portable version, that exports registry to REG file when the app is closed. IMO small apps like PuTTY portable can be mirrored whole, not just the reg file; also the updates are pretty easy - you just update once and other machines are updated as well.

[Image: kavove-zrnka-lajna.jpg]
Coffee phreak!
Reply
#2

Thank you for sharing this amazing content. I truly loved reading your content, so thank you so much for sharing it. As I've already shown, geometry dash lite is an excellent game to play in your free time following a taxing workweek.
Reply




Users browsing this thread: 1 Guest(s)