mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-29 15:46:35 +00:00
Find
- Find large files in the system (e.g. >4G)
This commit is contained in:
parent
ddd2d3aa1f
commit
ad6e6112f1
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user