Be careful not to delete the files in the current directory. Delete the subdirectory and the files in the subdirectory. Only delete those from 10 days ago.
Thank you, Daniel!
为情所困2017-06-17 09:18:43
Like this (make sure to confirm before deleting):
find . -maxdepth 1 -type d -mtime +10|xargs rm -rf