From d5b36cc5f268d2cf53554268b345d28b9aa4aa11 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 2 Feb 2023 19:20:31 +0100 Subject: README: update --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 4247989..8317081 100644 --- a/README.md +++ b/README.md @@ -53,16 +53,16 @@ To remove all symlinks, use `links-remove`. usage: links-remove [-h|--help] [-d|--database PATH] [-s|--shared-dir DIR] [-n|--dry-run] ``` -In this example, symlinks to files in "../src" must appear in "/test/dest". +In this example, symlinks to files in "/test/src" must appear in "/test/dest". ``` -> tree /test/dest/ +$ tree /test/dest/ /test/dest/ 0 directories, 0 files -> tree ../src/ -../src/ +$ tree /test/src/ +/test/src/ └── %DEST% ├── a │   └── b @@ -74,21 +74,21 @@ In this example, symlinks to files in "../src" must appear in "/test/dest". 6 directories, 2 files -> echo "$DEST" +$ echo "$DEST" /test/dest -> ./links-update --shared-dir ../src/ +$ ./links-update --shared-dir /test/src/ ... -> tree /test/dest/ +$ tree /test/dest/ /test/dest/ ├── a │   └── b │   └── c -│   └── test.txt -> /cygdrive/d/workspace/personal/src/%DEST%/a/b/c/test.txt +│   └── test.txt -> /test/src/%DEST%/a/b/c/test.txt └── foo └── bar - └── baz -> /cygdrive/d/workspace/personal/src/%DEST%/foo/bar/baz + └── baz -> /test/src/%DEST%/foo/bar/baz 5 directories, 2 files ``` -- cgit v1.2.3