To delete files (and folders) older than n days, you can use:
find /var/log/hive -mindepth 1 -mtime +n -delete
Note: Run without the `-delete` first to see what would be deleted.
To delete files (and folders) older than n days, you can use:
find /var/log/hive -mindepth 1 -mtime +n -delete
Note: Run without the `-delete` first to see what would be deleted.