Forrest logo
back to the find tool

linux:files:find:big

Find all files that are larger than a given size.
$ find ${path_to_check} -type f -size +${size_in_mega_byte}M
try on your machine

The command "find ${path_to_check} -type f -size +${size_in_mega_byte}M" is used to search for files within a specific directory based on their size. The ${path_to_check} should be replaced with the actual directory or path you want to search. The option -type f specifies that only regular files should be included in the search. The option -size +${size_in_mega_byte}M sets the size criterion, where ${size_in_mega_byte} should be replaced with the desired file size in megabytes. The command will find all regular files within the specified directory that are larger than the specified size.

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.

Questions that are answered by this command:

  • How to search for big files?
  • How to find big files?
  • How to find great files?
  • How to find files bigger than a threshold?
back to the find tool