Having difficulty getting this code to work: I have a list of files I want to archive as a tar.gz file and then create a checksum of the files
set chan [open myfile.tar.gz w]
zlib push gzip $chan
tar::create $chan file1.txt file2.txt file3.txt -chan
close $chan
exec sha256sum myfile.tar.gz > newfile