List contents of gzipped tar archive
tar -tzf archive.tgz
Tar and encrypt from list
tar -cz -T files.lst | gpg --cipher-algo AES -c -o files.tgz.gpg
Where files.lst is a list of files, gathered by e.g (all systems.txt or details.txt files under user’s home directory):
find ~ -type f -name "systems.txt" -o -name "details.txt" 2>/dev/null > files.lst