bash:files:find_all_files_greater_than_a_certain_size
BASH - Files - Find all files greater than a certain size
find / -type f -name *.log -size +20M
or
find /var/log -type f 2>/dev/null | xargs du -a 2>/dev/null | awk "{ if ( \$1 > 20000) print \$0 }" | sort -hr
bash/files/find_all_files_greater_than_a_certain_size.txt · Last modified: 2022/06/13 11:18 by peter