-
Notifications
You must be signed in to change notification settings - Fork 5
Home
Welcome to the cbird wiki! Just random stuff for now
Filters can be used for a few things, but usually it is
- limit scope of the search
- remove or certain results
Say you know that the originals were taken before a certain date, so you only want to find duplicates of these.
You can use -with
to select the subset, then search within the subset using "@" to refer to it.
cbird -select-type i -with exif#Photo.DateTimeOriginal#todate '<2022-01-03' -similar-to @
You have a project folder that is known to have copies of your assets/originals folder, and you don't want to include it. You can use a regular expression to select the search set, then search within it.
cbird -select-all -without relPath ':^projects/.*' -similar-in @
Boolean tests on properties (v0.7.1)
-
-with name '~foo || ~bar'
== "name contains foo or bar" -
-with name '~foo && ~bar'
== "name contains foo and bar"
Type conversions for metadata properties to enable correct evaluation (v0.7.1)
-with exif#Photo.DateTimeOriginal#todate '>=2021-01-01 && <2022-02-01'
- date is sometime in January 2021
Comparison with the needle property (v0.7.1)
-similar-to ./originals -with res '==%needle' -with suffix '==%needle' -with fileSize '<%needle'
- assume dupes are of lower quality due to smaller size at the same resolution and file type