@adriansev : I pushed today: 769182c 7c5e272 eb0e7be
this should allow you to use the checksum present in a metalink while extracting a file from ZIP archive.
From comandline (assuming file.meta4
points to a ZIP archive containing file.txt
and a md5
checksum for the file):
xrdcp --cksum md5 -f --zip=file.txt --zip-mtln-cksum file.meta4 .
XRD_ZIPMTLNCKSUM=1 xrdcp --cksum md5 -f --zip=file.txt file.meta4 .
You can also enable the functionality from Python by setting ZipMtlnCksum
in the environment, e.g.:
EnvPutInt( 'ZipMtlnCksum', 1 )
for more details see: https://github.com/xrootd/xrootd/blob/master/bindings/python/libs/client/env.py#L41
Could you give it a try?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1