Quantcast
Channel: find and remove files bigger than a specific size and type - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 4

Answer by Matthew Hub for find and remove files bigger than a specific size and type

$
0
0

Based on the above answers I used below command to clear the server from big log files (after cd'ing into /var/lib/jenkins)

find -type f -name *log -size +500M -delete

Viewing all articles
Browse latest Browse all 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>