Merge pull request #15 from fazlearefin/master

Use find to find and delete empty files
This commit is contained in:
Bonnie I-Man Ng 2020-07-18 22:35:31 +08:00 committed by GitHub
commit ba73fb49d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -837,6 +837,10 @@ find . -name "*.mso" -size -74c -delete
# M for MB, etc
```
##### Find and delete empty (0 byte) files
```bash
find . -type f -empty -delete
```
## Condition and loop
[[back to top](#handy-bash-one-liners)]