Skip to content

Commit

Permalink
Merge pull request #69 from drdo/readme-install-nightly
Browse files Browse the repository at this point in the history
Fix cargo install command in README
  • Loading branch information
drdo authored Aug 19, 2024
2 parents e62e85e + c088796 commit df8d304
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,25 @@ Note: On MacOS if you download via browser you might need to remove quarantine w

or you can install with cargo:
```
cargo install redu
cargo +nightly install redu --locked
```
Note: it currently requires nightly to build.

# Running

You can specify the repository and the password command in exactly the same ways
that restic supports.

For example using environment variables:
```
$ export RESTIC_REPOSITORY='sftp://my-backup-server.my-domain.net'
$ export RESTIC_PASSWORD_COMMAND='security find-generic-password -s restic -a personal -w'
$ redu
$ redu
```

Or via command line arguments:
```
redu -r 'sftp://my-backup-server.my-domain.net' --password-command 'security find-generic-password -s restic -a personal -w'
redu -r 'sftp://my-backup-server.my-domain.net' --password-command 'security find-generic-password -s restic -a personal -w'
```

Note: `--repository-file` (env: `RESTIC_REPOSITORY_FILE`) and `--password-file` (env: `RESTIC_PASSWORD_FILE`),
Expand Down Expand Up @@ -90,13 +90,13 @@ browse around.

Hint: you can press **Escape** to close the details window (as well as other dialogs).

### Marking files
### Marking files
You can mark files and directories to build up your list of things to exclude.
Keybinds
- **m**: mark selected file/directory
- **u**: unmark selected file/directory
- **c**: clear all marks (this will prompt you for confirmation)

The marks are persistent across runs of redu (they are saved in the cache file),
so feel free to mark a few files and just quit and come back later.

Expand Down

0 comments on commit df8d304

Please sign in to comment.