Option ignore_patterns is a comma-separated list of patterns (see
).
Additionally to the standard lua patterns, you can also escape commas with %,
for example, the option bak%,x%,,another will be resolved as patterns bak,x, and another.
But it does not mean you need to escape all lua patterns twice,
so the option bak%%,%.mp4, will be resolved as two patterns bak%% and %.mp4.
Example configuration would be:
disabled=no
images=no
videos=yes
audio=yes
additional_image_exts=list,of,ext
additional_video_exts=list,of,ext
additional_audio_exts=list,of,ext
ignore_hidden=yes
same_type=yes
directory_mode=recursive
ignore_patterns=^~,^bak-,%.bak$
–]]
原来的注释是这样的,
我加上一条
ignore_patterns=dog.cat
结果不会跳过
文档读起来太累了,AI也搞不清楚
有没有大神能直接告诉我怎么写?
我想跳过文件名带有dog,或者cat的文件,这个ignore_patterns= 到底要怎么写?