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

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 Author

Tip

To run a hub query on a different account, you can create a new profile using the anyquery profile create command. For example, let's say you have two GitHub accounts, run anyquery profile create github to authenticate with the second account. Next time you run a query, Anyquery will prompt you to select the profile to use.