Leveled down other pattern configs in README.

This commit is contained in:
ThePendulum 2018-04-18 17:55:56 +02:00
parent b7fa602b3b
commit 409f091e10
1 changed files with 4 additions and 4 deletions

View File

@ -47,14 +47,14 @@ Path patterns dictate where and how a file will be saved. Various variables and
* `$itemIndex`: The index of the individual image or video in an album, offset by the `indexOffset` configuration described below
* `$ext`: The extension of the medium. Must typically be included, but may be omitted for self (text) posts on Unix systems
#### `dateFormat`
##### `dateFormat`
Affects the representation of `$postDate`, `$albumDate` and `$itemDate` and defaults to `YYYYMMDD`. See [this documentation](https://date-fns.org/v1.29.0/docs/format) for an overview of all available tokens.
#### `titleLength`
##### `titleLength`
Titles can sometimes be longer than you prefer your filenames to be, or even overflow the operating system's limit (255 bytes for Linux). This property cuts off titles at a fixed number of characters.
#### `indexOffset`
##### `indexOffset`
Arrays start at 0, but as to not tire myself out debating the matter, you may offset it my any numerical value you like. Affects the `$itemIndex` variable for album items.
#### `slashSubstitute`
##### `slashSubstitute`
The patterns represent Unix file paths, and a `/` therefore indicates a new directory. You may freely use directories in your paths, but titles or descriptions may contain a `/` that is not supposed to create a new directory. All instances of `/` in a variable value will be replaced with the configured slash substitute.