10-31-2008
2,524,
241
Join Date: Dec 2007
Last Activity: 17 March 2020, 2:04 PM EDT
Posts: 2,524
Thanks Given: 173
Thanked 241 Times in 206 Posts
1. Redirection for errors is up to you. With a find command, you may get errors that you would 'count' as hits since they would be lines returned.
2. To count them...
count=`find ./ -size +20k 2>/dev/null | wc -l`