mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-22 21:07:00 +00:00
update "Find empty (0 byte) files"
This commit is contained in:
parent
ba73fb49d2
commit
7857f80844
@ -837,8 +837,10 @@ find . -name "*.mso" -size -74c -delete
|
|||||||
# M for MB, etc
|
# M for MB, etc
|
||||||
```
|
```
|
||||||
|
|
||||||
##### Find and delete empty (0 byte) files
|
##### Find empty (0 byte) files
|
||||||
```bash
|
```bash
|
||||||
|
find . -type f -empty
|
||||||
|
# to further delete all the empty files
|
||||||
find . -type f -empty -delete
|
find . -type f -empty -delete
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user