diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-02-02 19:20:31 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-02-02 19:20:31 +0100 |
commit | d5b36cc5f268d2cf53554268b345d28b9aa4aa11 (patch) | |
tree | 1537b974c49354afca138b84bf6cb86b802e77f3 | |
parent | properly rebuild Docker images (diff) | |
download | config-links-d5b36cc5f268d2cf53554268b345d28b9aa4aa11.tar.gz config-links-d5b36cc5f268d2cf53554268b345d28b9aa4aa11.zip |
README: update
-rw-r--r-- | README.md | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -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 ``` |