Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
kenchou committed Aug 2, 2024
1 parent 27039e6 commit 1f3d417
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,22 @@ If it is not found, it will then be looked for in the user's home directory.

```yaml
remove: |-
example_filename
# Any line that starts with '#' is treated as a comment.
# Match the filename exactly.
example_filename.ext
# '*' and '?' are wildcards.
wildcard*
# For more complex matching, use regular expressions.
# Notice: regex must start with "/".
/regex_pattern1
/regex_pattern2
remove_hash:
"filename_or_wildcard":
- md5hash
cleanup: |-
# Notice: regex must start with /.
/regex_pattern
# The filename cleaning rules only support regular expressions,
# so there is no need to start with '/'.
# The matched strings will be replaced with an empty string.
regex_pattern1
regex_pattern2
```

0 comments on commit 1f3d417

Please sign in to comment.