- Find large files in the system (e.g. >4G)
This commit is contained in:
bonnie 2020-07-19 22:55:29 +08:00
parent ddd2d3aa1f
commit ad6e6112f1

View File

@ -963,6 +963,11 @@ replace "www" "w" -- *
find mso*/ -name M* -printf "%f\n" find mso*/ -name M* -printf "%f\n"
``` ```
##### Find large files in the system (e.g. >4G)
```bash
find / -type f -size +4G
```
##### Find and delete file with size less than (e.g. 74 byte) ##### Find and delete file with size less than (e.g. 74 byte)
```bash ```bash
find . -name "*.mso" -size -74c -delete find . -name "*.mso" -size -74c -delete