Skip to content

Commit

Permalink
docs(readme): add details about the recovery secret in example folder…
Browse files Browse the repository at this point in the history
…s cmds
  • Loading branch information
bochaco committed Apr 2, 2024
1 parent e181c1c commit c490399
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,14 @@ Upload a directory:
cargo run --bin safe --features local-discovery -- folders upload <dir-path>
```

Make sure you made a backup copy of the "recovery secret" generated by the above command, or the one you have provided when prompted.

After it finishes uploading the complete directory, with files and sub-directories, it will show the network address where the main directory can be pulled from.

Now download the folders, providing a target directory path:
Now you can download the folders onto any other path by providing it as the target directory path (you will be prompted to enter the "recovery secret"):

```bash
cargo run --bin safe --features local-discovery -- folders download <network address> <dir path>
cargo run --bin safe --features local-discovery -- folders download <dir path>
```

If any changes are now made to files or directories within this folder, before trying to push those changes to the network, we can get a report of the changes that have been made locally:
Expand Down

0 comments on commit c490399

Please sign in to comment.