Forrest logo
back to the find tool

find:ai:cc3e0

How to delete all files bigger than 10 mb?
$ find . -type f -size +10M -delete
try on your machine

This command will find all files in the current directory and its subdirectories that are bigger than 10MB and delete them.

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 delete all files bigger than 10 MB?
back to the find tool