Delete files smaller than a certain size
(Source)
find . -name "*.ext" -type f -size -160k -delete
For files bigger, use -size +160k
.
For measuring in bytes directly use -size -160c
.
(Source)
find . -name "*.ext" -type f -size -160k -delete
For files bigger, use -size +160k
.
For measuring in bytes directly use -size -160c
.