mirror of
https://github.com/onceupon/Bash-Oneliner
synced 2025-02-16 13:08:23 +00:00
Find
- Find large files in the system (e.g. >4G)
This commit is contained in:
parent
ddd2d3aa1f
commit
ad6e6112f1
1 changed files with 5 additions and 0 deletions
|
@ -963,6 +963,11 @@ replace "www" "w" -- *
|
|||
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)
|
||||
```bash
|
||||
find . -name "*.mso" -size -74c -delete
|
||||
|
|
Loading…
Add table
Reference in a new issue