tar

List content of a tar file

If you want to exclude a folder from the file list, use

This will exclude all files that are inside folder “home/haridy/Maildir”. You can use multiple –exclude if required.