https://qastack.kr/unix/37329/efficiently-delete-large-directory-containing-thousands-of-files
find /path/to/folder -name "filenamestart*" -type f -exec rm -f {} \;
mkdir empty_dir rsync -a --delete empty_dir/ yourdirectory/