I want to create an encrypted tar but also I want to have a log of what tar has compressed, I'm using the following command:
tar -cvvf - --files-from=/root/backup.cfg | openssl des3 -salt -k backuppass | dd of=/root/tmp/back.encrypted
But I need to have a log of tar's stdout. I don't know how to get it, because If I use ">" in tar command openssl result is not correct.
I've also checked tar manual hoping to find some option to write stdout to a file, but I have found nothing.
thanks & Regards.