create log for an encrypted tar
- by magiza83
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.
any help?
thanks & Regards.