aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-10-18 09:56:50 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-10-18 09:56:50 +0300
commit223cdece4c87c14e1dc538c29068c9ffda18c64c (patch)
treeea4341d878d269689da34c6ee3f76caa73a451a9
parentremove dead code (diff)
downloadconfig-links-223cdece4c87c14e1dc538c29068c9ffda18c64c.tar.gz
config-links-223cdece4c87c14e1dc538c29068c9ffda18c64c.zip
README update
-rw-r--r--README.md27
1 files changed, 14 insertions, 13 deletions
diff --git a/README.md b/README.md
index b8df99a..2bcef9d 100644
--- a/README.md
+++ b/README.md
@@ -29,20 +29,21 @@ Pass the `--help` flag to this script to examine its detailed usage
information.
A complete usage example is given below.
-In this example, the symlinks to files in "../cfg" must appear in "~/env".
+In this example, the symlinks to files in "../src" must appear in
+"/test/dest".
```
> pwd
/cygdrive/d/workspace/personal/config-links
-> tree ~/env/
-/home/Egor/env
+> tree /test/dest/
+/test/dest/
0 directories, 0 files
-> tree ../cfg/
-../cfg/
-└── %ENV%
+> tree ../src/
+../src/
+└── %DEST%
├── a
│   └── b
│   └── c
@@ -53,21 +54,21 @@ In this example, the symlinks to files in "../cfg" must appear in "~/env".
6 directories, 2 files
-> echo "$ENV"
-/home/Egor/env
+> echo "$DEST"
+/test/dest
-> ./update.sh --shared-dir ../cfg/
+> ./update.sh --shared-dir ../src/
...
-> tree ~/env/
-/home/Egor/env/
+> tree /test/dest/
+/test/dest/
├── a
│   └── b
│   └── c
-│   └── test.txt -> /cygdrive/d/workspace/personal/cfg/%ENV%/a/b/c/test.txt
+│   └── test.txt -> /cygdrive/d/workspace/personal/src/%DEST%/a/b/c/test.txt
└── foo
└── bar
- └── baz -> /cygdrive/d/workspace/personal/cfg/%ENV%/foo/bar/baz
+ └── baz -> /cygdrive/d/workspace/personal/src/%DEST%/foo/bar/baz
5 directories, 2 files
```