New -find test -size
This commit is contained in:
@ -1745,6 +1745,27 @@ File: xorriso.info, Node: CmdFind, Next: Filter, Prev: Manip, Up: Commands
|
||||
"pipe", "file", "link", "socket", "eltorito", and "Xotic"
|
||||
which matches what is not matched by the other types.
|
||||
Only the first letter is interpreted. E.g.: -find / -type d
|
||||
-size [+-][=]number[cwbdksmg] :
|
||||
Matches files with matching relation to the given size number.
|
||||
|
||||
The prefix defines the desired relation:
|
||||
No prefix or prefix "=" means: File must have exactly the
|
||||
given size.
|
||||
Prefix "+" means: File must be larger than given size.
|
||||
Prefix "+=" means: File must be larger than or equal to given
|
||||
size limit.
|
||||
Prefix "-" means: File must be smaller than given size limit.
|
||||
Prefix "-=" means: File must be smaller than or equal to given
|
||||
size limit.
|
||||
Suffixes are peculiar to stay compatible with program "find":
|
||||
No suffix means blocks of 512 bytes, "c" means single bytes,
|
||||
"w" means 2 bytes, "b" means 512 bytes. The suffixes "k",
|
||||
"M", and "G" mean 1024, 1024k, and 1024M respectively. As
|
||||
usual with xorriso, the suffixes "d" and "s" mean 512 and 2048
|
||||
and all suffixes are recognized as both, uppercase and
|
||||
lowercase letters.
|
||||
E.g. match files larger or equal 4 GiB:
|
||||
-size +=4g
|
||||
-maxdepth number :
|
||||
Matches only files which are at most at the given depth level
|
||||
relative to the iso_rr_path where -find starts. That path
|
||||
@ -6222,44 +6243,44 @@ Node: Insert58208
|
||||
Node: SetInsert70325
|
||||
Node: Manip80442
|
||||
Node: CmdFind90542
|
||||
Node: Filter109471
|
||||
Node: Writing114093
|
||||
Node: SetWrite126348
|
||||
Node: Bootable156200
|
||||
Node: Jigdo184081
|
||||
Node: Charset189084
|
||||
Node: Exception192413
|
||||
Node: DialogCtl198542
|
||||
Node: Inquiry201144
|
||||
Node: Navigate212402
|
||||
Node: Verify221109
|
||||
Node: Restore232258
|
||||
Node: Emulation244466
|
||||
Node: Scripting254922
|
||||
Node: Frontend262705
|
||||
Node: Examples272331
|
||||
Node: ExDevices273509
|
||||
Node: ExCreate274170
|
||||
Node: ExDialog275470
|
||||
Node: ExGrowing276741
|
||||
Node: ExModifying277550
|
||||
Node: ExBootable278060
|
||||
Node: ExCharset278615
|
||||
Node: ExPseudo279511
|
||||
Node: ExCdrecord280438
|
||||
Node: ExMkisofs280758
|
||||
Node: ExGrowisofs282655
|
||||
Node: ExException283808
|
||||
Node: ExTime284266
|
||||
Node: ExIncBackup284724
|
||||
Node: ExRestore288750
|
||||
Node: ExRecovery289696
|
||||
Node: Files290268
|
||||
Node: Environ291602
|
||||
Node: Seealso292350
|
||||
Node: Bugreport293067
|
||||
Node: Legal293658
|
||||
Node: CommandIdx294670
|
||||
Node: ConceptIdx312568
|
||||
Node: Filter110569
|
||||
Node: Writing115191
|
||||
Node: SetWrite127446
|
||||
Node: Bootable157298
|
||||
Node: Jigdo185179
|
||||
Node: Charset190182
|
||||
Node: Exception193511
|
||||
Node: DialogCtl199640
|
||||
Node: Inquiry202242
|
||||
Node: Navigate213500
|
||||
Node: Verify222207
|
||||
Node: Restore233356
|
||||
Node: Emulation245564
|
||||
Node: Scripting256020
|
||||
Node: Frontend263803
|
||||
Node: Examples273429
|
||||
Node: ExDevices274607
|
||||
Node: ExCreate275268
|
||||
Node: ExDialog276568
|
||||
Node: ExGrowing277839
|
||||
Node: ExModifying278648
|
||||
Node: ExBootable279158
|
||||
Node: ExCharset279713
|
||||
Node: ExPseudo280609
|
||||
Node: ExCdrecord281536
|
||||
Node: ExMkisofs281856
|
||||
Node: ExGrowisofs283753
|
||||
Node: ExException284906
|
||||
Node: ExTime285364
|
||||
Node: ExIncBackup285822
|
||||
Node: ExRestore289848
|
||||
Node: ExRecovery290794
|
||||
Node: Files291366
|
||||
Node: Environ292700
|
||||
Node: Seealso293448
|
||||
Node: Bugreport294165
|
||||
Node: Legal294756
|
||||
Node: CommandIdx295768
|
||||
Node: ConceptIdx313666
|
||||
|
||||
End Tag Table
|
||||
|
Reference in New Issue
Block a user