Refactor
This commit is contained in:
48
sample.toml
Normal file
48
sample.toml
Normal file
@ -0,0 +1,48 @@
|
||||
# All paths are relative to workdir.
|
||||
# Workdir is this file's parent by default.
|
||||
# If workdir is relative, it is relative to this file's parent.
|
||||
[config]
|
||||
work_dir = "/mnt/hdd/media/Media/Music/Library"
|
||||
|
||||
# If true, follow symlinks
|
||||
# Conflicts with `links`.
|
||||
# follow_links = false
|
||||
|
||||
# If true, act on directories
|
||||
# process_dirs = false
|
||||
|
||||
# If true, act on regular files
|
||||
# process_files = true
|
||||
|
||||
# If true, act on symlinks.
|
||||
# Conflicts with `follow_links.
|
||||
# process_links = false
|
||||
|
||||
|
||||
# The first rule to match a path is run. Files that match no rules are ignored.
|
||||
# Paths are checked relative to the source directory:
|
||||
# e.g, "/source/path/to/file.gz" is matched as "path/to/file.gz"
|
||||
#
|
||||
# Each pattern is matched _exactly_ against the full path of each file.
|
||||
# e.g, `file` will _only_ match `/source/file`. This is not a .gitignore.
|
||||
# To match batches of files, use wildcards.
|
||||
#
|
||||
# Wildcards:
|
||||
# - `*` matches exactly one path segment. It will _not_ match across directories.
|
||||
# - `*.flac` matches all flac files
|
||||
# - `/a/*/file.txt` matches all files named `file.txt` in subdirectories of `a`.
|
||||
# this will _not_ match `/a/b/c/file.txt`.
|
||||
#
|
||||
# - `**` matches zero or more path segments.
|
||||
# - `**` will match all files.
|
||||
# - `**/*.flac` will match all files ending in ".flac"
|
||||
# - The ** wildcard should always be surrounded by slashes.
|
||||
# if you omit them, they will be implied. Avoid doing this:
|
||||
# - `**.flac` is equivalent to `**/.flac`.
|
||||
# - `a**b` is equivalent to `a/**/b`
|
||||
#
|
||||
# Tasks:
|
||||
# - See the docs for a list of tasks we support.
|
||||
# - An empty string (as below) always means "ignore this file".
|
||||
[[rules]]
|
||||
"**" = ""
|
Reference in New Issue
Block a user