Remove files older than

# You want to find and remove tar.bz2 and tar.gz files older than 30 days
find . -name "*.tar.*" -mtime +30 -exec rm {} \;
 
# Same thing, but limit only to the current directory
find . -maxdepth 1 -name "*.tar.*" -mtime +30 -exec rm {} \;