🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
# G.9 Size The `<size>` tag selects files matching a specified size limit. ``` <fileset dir="${src}"> <size value="4" when="more"/> </fileset> ``` Table G.9:聽 Attributes for the `<size>` selector NameDescriptionDefaultRequired`value`The size of the file which should be tested for.n/aYes`units`The units that the value attribute is expressed in. When using the standard single letter SI designations, such as "k","M", or "G", multiples of 1000 are used. If you want to use power of 2 units, use the IEC standard: "Ki" for 1024, "Mi" for 1048576, and so on. The default is no units, which means the value attribute expresses the exact number of bytes.n/aNo`when`Indicates how to interpret the size, whether the files to be selected should be larger, smaller, or equal to that value. Accepted values are: `less` - select files less than the indicated size `more` - select files greater than the indicated size `equal` - select files this exact size equalNo