Which file extensions are the most common in a directory?

Get the most common file extensions in a given directory to understand the types of files it contains

Run this query

To run this query, you can use the following command:

anyquery run which_files_extension_are_the_most_common_in_a_directory

Arguments

Directory Path

The directory path to list files from

Additional informations

Source code Author

Tip

You can also run local queries using the anyquery run command. Just pass the path to the query file as an argument (e.g. anyquery run path/to/query.sql).