delete huge amount of files linux code example
Example 1: linux remove large folder
cd yourdirectory
perl -e 'for(<*>){((stat)[9]<(unlink))}'
Example 2: delete all files smaller than a certain size linux
find . -name "*.tif" -type 'f' -size -160k -delete