find . -name "*staging*" | xargs -I % sh -c 'find % -name log -mtime +30 -exec truncate -s 0 {} \;'
Reference: http://www.vionblog.com/linux-delete-files-older-than-x-days/
find . -name "*staging*" | xargs -I % sh -c 'find % -name log -mtime +30 -exec truncate -s 0 {} \;'
Reference: http://www.vionblog.com/linux-delete-files-older-than-x-days/