-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
53c962f
commit b239d88
Showing
1 changed file
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,28 +75,23 @@ In case you experience any inconsistencies in the way the files are synced, or n | |
For a more robust first time sync after you removed the `<PATH-REPO>` directory you should run the command with `--checksum` first time to compare also the `MD5 hash` when checking for changed files in `<PATH1-MNT>` compared to `<PATH2-MNT>`. This will result in a union from both `<PATH1-MNT>` and `<PATH2-MNT>`, no deletes will be made this first time. | ||
After that you can run without the flag if you don't want to use the `MD5 hash` to determine changes. | ||
|
||
# Work in progress | ||
|
||
- merge changes trees between `path1` and `path2` and resolve conflicts | ||
- apply changes to both `path1` and `path2` | ||
|
||
# Compile it from source code | ||
## Compile it from source code | ||
|
||
## Clone the repo | ||
### Clone the repo | ||
|
||
```bash | ||
git clone [email protected]:radumarias/syncoxiders.git | ||
``` | ||
|
||
## Install rust | ||
### Install rust | ||
|
||
[Install Rust](https://www.rust-lang.org/tools/install) | ||
|
||
```bash | ||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh | ||
``` | ||
|
||
### Configuring the PATH environment variable | ||
#### Configuring the PATH environment variable | ||
|
||
In the Rust development environment, all tools are installed to the `~/.cargo/bin` directory, and this is where you will find the Rust toolchain, including rustc, cargo, and rustup. | ||
|
||
|
@@ -110,13 +105,18 @@ You can try this also: | |
$HOME/.cargo/env | ||
``` | ||
|
||
## Compile the code | ||
### Compile the code | ||
|
||
```bash | ||
cargo build --release | ||
``` | ||
# Run it | ||
### Run it | ||
|
||
```bash | ||
target/release/syncoxiders --path1-mnt <PATH1-MNT> --path2-mnt <PATH2-MNT> --path-repo <PATH-REPO> | ||
``` | ||
|
||
# Work in progress | ||
|
||
- merge changes trees between `path1` and `path2` and resolve conflicts | ||
- apply changes to both `path1` and `path2` |