To test do this:

find ./ -mindepth 1 -depth -type f -mtime +365 -printf ‘%AF %b %p\n’



Then if it’s all okay, do this:

find ./ -mindepth 1 -type f -mtime +365 -delete