← Useful Tips
Linux / WSLLinux

find . -type f -empty: Find empty files

Use find . -type f -empty to find empty files. It is especially handy when you live in terminals and repeat long commands.

find . -type f -empty

Why it helps

Use find . -type f -empty to find empty files. It is especially handy when you live in terminals and repeat long commands.

How to use it

  1. Open the relevant app or terminal.
  2. Use the shortcut or command above in the relevant context.
  3. Check the result; for commands that change data, test on a small example first.
People also search for
find . -type f -empty: Find empty filesfind . -type f -emptyfind empty fileshow to find empty filesLinux / WSL find empty files

Related tips