Skip to content
Marcin Sztolcman edited this page Sep 20, 2013 · 1 revision

About

Plugin size allow to filter files by their size.

Size must be given as argument, and must follow pattern (without spaces):

operator size multiplier

Operator (can be omitted) is one of: >, <, = (default) Multiplier (can be omitted) is one of: b (default), k (multiply by 1024), m (multiply by 10241024) or g (multiply by 10241024*1024)

Examples

Search for files with size exactly 3 kibibytes

ff pattern -t size:=3k

This one find files with size being larger then 1 kibibyte

ff pattern -t size:>1k

Also pattern for less is recognized:

ff pattern -t size:<5k

You can use 2 calls for size plugin to specify range:

ff pattern -t size:>1k -t size:<5k
Clone this wiki locally