As in bash to delete files in subfolders older than a certain date?

In bash delete all files in podatkach older than a certain date?
Structure:
FolderRoot / Folders* / Files*.jpg
Thank you!
March 19th 20 at 08:30
2 answers
March 19th 20 at 08:32
find /FolderRoot -type f -name 'Files*.jpg' -mtime +1 -delete


Here the key parameter - mtime:
-mtime n
 The primary shall evaluate as true if the file modification time subtracted
 from the initialization time, divided by 86400 (with any remainder discarded), is n.
Isn't that -mtime +1
? - Violette commented on March 19th 20 at 08:35
Yes, +1 correct, thank you! - Antonette22 commented on March 19th 20 at 08:38
March 19th 20 at 08:34
man find

Find more questions by tags bashLinux