From 27039e64a7d5fe36ea44b9530a72648a0610e4c9 Mon Sep 17 00:00:00 2001 From: Ken Chou Date: Fri, 2 Aug 2024 16:49:33 +0800 Subject: [PATCH] add config sample --- cleanup-patterns.yml.sample | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 cleanup-patterns.yml.sample diff --git a/cleanup-patterns.yml.sample b/cleanup-patterns.yml.sample new file mode 100644 index 0000000..dbbcd4c --- /dev/null +++ b/cleanup-patterns.yml.sample @@ -0,0 +1,11 @@ +# 斜杠 / 开头的模式将作为【正则表达式】匹配,否则作为【通配符】匹配 +remove: |- + .DS_Store + *Thumbs.db + _____padding_file_* + /(免费|必看|扫码) + +# 文件名清理规则仅支持【正则表达式】,匹配的字符串将被替换为空串 +cleanup: |- + \[\w+\.\w{2,4}\] + ^[-_@]+