Forrest logo
back to the fselect tool

fselect:tldr:2b4dd

fselect: Find square images.
$ fselect path from ${path-to-directory} where width = height
try on your machine

The command fselect path from ${path-to-directory} where width = height is used to find the file paths of files that have the same width and height dimensions within the specified directory.

Here's a breakdown of the command:

  • fselect is the command itself, which is used to search for files based on specific criteria.
  • path is the attribute or data field that we want to select (retrieve) from each file.
  • from ${path-to-directory} specifies the directory from which we want to search the files. ${path-to-directory} should be replaced with the actual path to the directory.
  • where width = height is the condition that filters the files based on their dimensions. It checks if the width of a file is equal to its height.

In summary, the command is looking for files within the specified directory that have the same width and height dimensions and returns the corresponding file paths.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the fselect tool