Simple user interface for Simple synchronize
SimpleSync is a graphical user interface for rsync wich is a utility for efficiently transferring and synchronizing files between a computer and an external hard drive and across networked computers by comparing the modification times and sizes of files.
Firstly, install rsync packages:
- for macOS
brew install rsync- for Linux
sudo apt-get install rsync- Install Qt Creator from https://www.qt.io.
- Clone the repo:
git clone https://github.com/Vesa95/SimpleSync.git-
Open SimpleSync.pro file with QtCreator.
-
If a window with the message "No Valid Settings Found" appear, hit OK.
-
Select your compiler, and hit "Configure Project".
-
From left side of Qt window, select "Release" and hit "Build".
-
Now, the program is compiled, you can find the .exe in the same folder, where you cloned the repo.
Example:
\home\user\
│
├── SimpleSync <--- REPO CLONE
└── build-SimpleSync-Desktop_Qt_5_9_6_GCC_64bit-Release <--- RELEASE FOLDER (.exe)SimpleSync can be use to synchronize local directory, or remote directory (or synchronize an external HDD with a samba server, exactly why I used it).
This user guide is split in two: 1 - Local Sync and 2 - Remote Sync.
- Choose the folder with the files you want to transfer (sync) "Origin Folder: " Attention: The contain of origin folder will be copied (sync), not the folder!
- Choose the destination folder "Sync Folder: "
- By default, log file is check, if you don't want to make a log file, uncheck it. The path of log files folder is "\home\user\SimpleSync-logs"
- Hit Synchronize and wait to appear "DONE" on console widget.
- Now, the files from origin folder, will be also in sync folder, if you make changes on a file from origin folder, and synchronize them one more time, only the files that was changed will be transfered in sync folder.
- For this, will need to be done a few more setting, I highly recommend to use Digital Ocean ssh tutorial: How To Configure SSH Key-Based Authentication on a Linux Server.
- After you have done, all the steps from tutorial, you wil need one more sheel line to disable ssh for asking you passphrase every time you want to connect to server.
ssh-add -K ~/.ssh/id_rsa- This is needed only if you enter a passphrase at the step 4 from tutorial, but I highly recommend to leave passphrase empty:
# Step 4 from tutorial:
Created directory '/home/username/.ssh'.
Enter passphrase (empty for no passphrase): <-- LEAVE EMPTY!
Enter same passphrase again: - All ssh setting are done! Congrats!
- Now, on SimpleSync press in "Remote Setting" tab, check Remote Sync, and enter the Username and IP adress that you used to connect to server with ssh.
For example I want to synchronize my photos folder from my backup server with my local folder. On my backup server, photos are in \mnt\SambaServer\Media\Photos\ <- this is the path for Origin Folder, and my local folder is \home\user\Photos <- this is the path for Sync Folder.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature) - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.
Vesa Bogdan - vesabogdan95@gmail.com
Project Link: https://github.com/vesa95/SimpleSync


