与exiftool逆向匹配(Inverse matching with exiftool)
我基于
exiftool
的subject
伪标记中的内容对图片进行排序,通常看起来像这样:
15: D101-5-12 1: Elephas maximus 16: Bob
通常我会根据第二行中的物种名称对图像进行排序,但是,对于某些图像,第二行缺失,我想过滤这些图像。
图片之间的第一行和第三行有很大差异,所以我无法利用这些。 相反,我一直在尝试各种围绕此主题提出的“反向匹配”方法,但没有成功。 例如,以下不起作用:
exiftool -r -if '\$subject=~/^((?!1:\s).)*$/i' \ '-Filename=./image_sorted/%f%+c%E' image_directory
有关如何使用
exiftool
做到这一点的任何想法?I am sorting pictures based on the contents in the
subject
pseudo tag ofexiftool
, which generally look something like this:
15: D101-5-12 1: Elephas maximus 16: Bob
Usually I sort the images based on the species name in the second line, however, for some images the second line is missing and I would like to filter these images out.
The first and third line vary a lot between pictures, so I am unable to utilise these. Instead, I have been trying various 'inverse matching' methods suggested on other questions surrounding this topic, but with no success. For example, the following does not work:
exiftool -r -if '\$subject=~/^((?!1:\s).)*$/i' \ '-Filename=./image_sorted/%f%+c%E' image_directory
Any ideas on how to do this with
exiftool
?
原文:https://stackoverflow.com/questions/50526638
最满意答案
在
#mbtopmenuebul_table ul
更改此padding: 3px;
到这个padding: 0px 3px;
演示: http : //jsfiddle.net/qynC3/1/
On
#mbtopmenuebul_table ul
change thispadding: 3px;
to thispadding: 0px 3px;
相关问答
更多-
将水平CSS菜单居中(Center a horizontal CSS menu)[2022-05-01]
您可以使用以下CSS规则使导航栏居中: nav { margin: 0 auto; text-align: center; border:1px solid black; } nav ul ul { display: none; } nav ul li:hover > ul { display: block; } nav ul { list-style: none; margin: 0; /* << add th ... -
我认为在那里使用简单的jQuery的最佳方法。 简单点击功能可以做你想做的一切。 在关闭body标签之后,将其添加到代码的底部。