#Resource Distribution And Synchronization Helper
I couldn't find a way to specify 'files' using the letter 'D'.
- That the "server" folder is a mountpoint, or a symlink, or you copy everything from the medium to it and back.
- That all clients have enough space for all the data in the system.
- That the medium is shared (SFTP) or essentially shared (drive you carry).
- That the medium can hold all the data you want to transfer at once.
- That you trust everybody with access to the medium, since not much verification is performed.
- Portable storage is not as cheap as local storage, so file-level delta synchronization is needed.
- The internet is slow, and you have to move between places anyway to cause the data to be transferred.
- You do not tend to switch between computers every 5 seconds, requiring active sync.
- This matches my use case exactly.
- Using folders provides backend flexibility.
- Do any server-symlinking.
- Make sure the "server" folder contains a "index" folder.
- Create a folder for your computer's name.
java -jar build/libs/Sync2-0.1.jar Standard
, and type in (case-sensitive) the computer name.- Repeat 1, 3 and 4 on other computers to ensure every computer on the network has it's index.
- Repeat 4 on a given computer to synchronize.
- Never run the sync on two computers at the same time.
- Do not abort a sync while the index is being uploaded. (At other times, it should be safe.)
If anything goes wrong, wipe the indexes, and re-run the synchronization program on each computer. This could lead to partial-downloaded files being chosen over full files, though, so make a backup.
Have fun!