Linux: delete tons of files from folder with one command

PHOTO EMBED

Mon Aug 29 2022 14:46:12 GMT+0000 (Coordinated Universal Time)

Saved by @marcopinero #bash

$> cd <folder>

$> perl -e 'for(<1.*>){((stat)[9]<(unlink))}'

$> find ./ -name "1.*" -exec rm {} \;

$> for i in 1.*; do rm -rf $i; done
content_copyCOPY

Delete huge number of files (1.*) from folder.