Find all files with the extension ".txt" in the current directory and its subdirectories, and compress them into an archive called "my_archive.tar".
find ./ -iname "*.txt" | xargs tar -cvf my_archive.tar