Find all files in the home directory that were modified in the last 5 days, with a file type of .txt, and compress them into a zip file.
find ~/ -mtime -5 -type f -name "*.txt" -exec zip -r {}.zip {} \;