A simple program to sync files between PCs by using a SSH server. No server side software required, just your SSH server.
It will keep track of the files modified timestamp and ensure the latest version of the file is downloaded and uploaded to and from the SSH server.
Its been designed with a single user in mind. If multiple people are modifying files and its syncing then expect data loss. This will not work with different users modifying the same files.
At the moment it will use your key in ~/.ssh/id_rsa
Contact me on my website likefury.com.
- Handle file deletion
- Better docs
- A detailed guide
- More SSH authentication options
- Option to sync individual files
- Periodic syncs
Make sure you have the Dart build tools installed on your system.
git clone https:/LikeFury/private-sync
cd private-sync
dart pub get
dart compile exe ./bin/private_sync.dart
sudo cp ./bin/private_sync.exe /usr/bin/private-sync
sudo chmod +x /usr/bin/private-sync
private-sync help
private-sync server hostname 192.168.1.2
private-sync server directory /root/syncedfiles/
private-sync server username root
private-sync server test
private-sync directory add
Enter in the name, example documents
and then the directory path you want synced, for example ~/Documents
private-sync directory show
private-sync directory remote
private-sync sync
On your other PC run through the same step of commands and use the same directory name. The files will be synced between those directories.