diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-06-14 09:57:18 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-14 09:57:18 -0500 |
| commit | 69aa6d9ac78e0dbf8a4e70e4a6657c61f03da494 (patch) | |
| tree | 70c9c77b4ec20b3a0adbb22edd9a29495c473244 /docs | |
| parent | 8fcb6d4f058607a085ba2a76d2b4af6a1863e4bd (diff) | |
| parent | a9d54c1d51beeda6e09e29f8d68614ee887d58f2 (diff) | |
| download | slskd-69aa6d9ac78e0dbf8a4e70e4a6657c61f03da494.tar.gz | |
Merge pull request #511 from slskd/shares
Simplify share masking and allow sharing of root paths
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/config.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/config.md b/docs/config.md index a3fde410..74d7b24d 100644 --- a/docs/config.md +++ b/docs/config.md @@ -107,7 +107,7 @@ directories: Any number of shared directories can be configured. -Paths must be absolute, meaning they must begin with `/`, `X:\`, or `\\`, depending on the system. Relative paths, such as `~/directory` or `../directory`, and root paths (e.g. an entire drive, mount or network share) are not supported. +Paths must be absolute, meaning they must begin with `/`, `X:\`, or `\\`, depending on the system. Relative paths, such as `~/directory` or `../directory`, are not supported. Sharing a root mount on a unix-like OS (`/`) is also not supported. Shares can be excluded by prefixing them with `-` or `!`. This is useful in situations where sharing a subdirectory of a share isn't desired, for example, if a user wanted to share their entire music library, but not their personal recordings: @@ -126,7 +126,7 @@ directories: - '[Music]\users\John Doe\Music' ``` -To a remote user, any files within the aliased path will appear as though they are shared from a directory named as the alias. +If no alias is specified, the name of the shared folder is used (e.g. `D:\Music` is aliased to `Music`). To a remote user, any files within the aliased path will appear as though they are shared from a directory named as the alias. Aliases: * Must be unique |
