Find the n biggest files in a directory
Get the n largest files by size in a specified directory
Run this query
To run this query, you can use the following command:
anyquery run find_the_n_biggest_files_in_a_directory <directory> <limit>
Arguments
Directory Path
The path of the directory to search for files
Number of files to return
The number of largest files to return
Additional informations
Source code AuthorTip
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).