I’m using smokeping, i see a bunch of files that is no longer needed. To be safe, i want to rename find these files and rename them. I came with this solution

The above command will find all files with ext .rrd and not modified in the last 30 days.