aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-02-02 19:20:31 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-02-02 19:20:31 +0100
commitd5b36cc5f268d2cf53554268b345d28b9aa4aa11 (patch)
tree1537b974c49354afca138b84bf6cb86b802e77f3
parentproperly rebuild Docker images (diff)
downloadconfig-links-d5b36cc5f268d2cf53554268b345d28b9aa4aa11.tar.gz
config-links-d5b36cc5f268d2cf53554268b345d28b9aa4aa11.zip
README: update
-rw-r--r--README.md18
1 files 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
```