Find all files with the extension ".rpm" in the current directory and its subdirectories up to 6 levels deep, which were modified within the last two weeks, and delete them.
find ~ -maxdepth 6 -name "*.rpm" -newermt $(date +'%Y%m%d' -d '2 weeks ago') -exec rm {} \;