Skip to content
Snippets Groups Projects
Verified Commit 9e137393 authored by nfontrod's avatar nfontrod
Browse files

Readme.md: update

parent c9889915
Branches
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ To install borg, you can go to [borg's installation page](https://borgbackup.rea ...@@ -14,7 +14,7 @@ To install borg, you can go to [borg's installation page](https://borgbackup.rea
As gblk is written in rust, you need to install it with: As gblk is written in rust, you need to install it with:
```bash ```sh
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
``` ```
...@@ -409,7 +409,7 @@ Note that you can also display the differences between images. To be able to do ...@@ -409,7 +409,7 @@ Note that you can also display the differences between images. To be able to do
so, [imagemagick](https://imagemagick.org/script/index.php) must be installed. so, [imagemagick](https://imagemagick.org/script/index.php) must be installed.
You you plan to make pdf diff, you might want to change imagemagick `/etc/ImageMagick-[VERSION]/policy.xml` and replacing the line: If you plan to make pdf diff, you might want to change imagemagick `/etc/ImageMagick-[VERSION]/policy.xml` and replacing the line:
```xml ```xml
<policy domain="coder" rights="none" pattern="PDF" /> <policy domain="coder" rights="none" pattern="PDF" />
...@@ -489,17 +489,17 @@ Note that this command doesn't actually free disk space. You have to use `gblk c ...@@ -489,17 +489,17 @@ Note that this command doesn't actually free disk space. You have to use `gblk c
To display the help of gblk delete, run the following command: To display the help of gblk delete, run the following command:
``` ```bash
gblk delete -h # -h for compact help, --help for a more exhaustive help gblk delete -h # -h for compact help, --help for a more exhaustive help
``` ```
To see what archive you are about to remove, enter To see what archive you are about to remove, enter
``` ```sh
gblk delete --list --dry-run [OTHER_OPTIONS] gblk delete --list --dry-run [OTHER_OPTIONS]
``` ```
- The `dry-run` option will keep the archive unchanged - The `--dry-run` option will keep the archive unchanged
- The `--list` option will display what was deleted (without `--dry-run` option) or what would be deleted (with the `dry-run` option) - The `--list` option will display what was deleted (without `--dry-run` option) or what would be deleted (with the `dry-run` option)
# Prune command # Prune command
...@@ -514,13 +514,13 @@ Note that this command doesn't actually free disk space. You have to use `gblk c ...@@ -514,13 +514,13 @@ Note that this command doesn't actually free disk space. You have to use `gblk c
To display the help of `gblk prune`, run the following command: To display the help of `gblk prune`, run the following command:
``` ```sh
gblk prune -h # -h for compact help, --help for a more exhaustive help gblk prune -h # -h for compact help, --help for a more exhaustive help
``` ```
To see what archives you are about to remove, enter To see what archives you are about to remove, enter
``` ```sh
gblk prune --list --dry-run [OTHER_OPTIONS] gblk prune --list --dry-run [OTHER_OPTIONS]
``` ```
...@@ -533,13 +533,13 @@ You can use this command after deleting one or more archives because it will rea ...@@ -533,13 +533,13 @@ You can use this command after deleting one or more archives because it will rea
To use this command, you can run: To use this command, you can run:
``` ```sh
gblk compact # -h for compact help, --help for a more exhaustive help gblk compact # -h for compact help, --help for a more exhaustive help
``` ```
To compact you `.borg` folder, you can run To compact you `.borg` folder, you can run
``` ```sh
gblk compact --verbose gblk compact --verbose
``` ```
...@@ -603,7 +603,7 @@ keep_monthly = 5 ...@@ -603,7 +603,7 @@ keep_monthly = 5
To remove a setting previouly defined in the local configuration file you can enter the following command To remove a setting previouly defined in the local configuration file you can enter the following command
``` ```sh
gblk config rm <KEY> [--global] gblk config rm <KEY> [--global]
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment