From 7857f8084441821ad37813592c88483bf0cb6aac Mon Sep 17 00:00:00 2001 From: bonnie Date: Sat, 18 Jul 2020 22:37:25 +0800 Subject: [PATCH] update "Find empty (0 byte) files" --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4211c1c..526e677 100644 --- a/README.md +++ b/README.md @@ -837,8 +837,10 @@ find . -name "*.mso" -size -74c -delete # M for MB, etc ``` -##### Find and delete empty (0 byte) files +##### Find empty (0 byte) files ```bash +find . -type f -empty +# to further delete all the empty files find . -type f -empty -delete ```