Merging files into tar.gz archives

Pulkit Agrawal thatguypulkit at gmail.com
Mon Dec 21 14:37:33 EST 2009


Hi,

I am writing a script wherein I need to merge files into existing tar.gz
archives. Currently, I am using tarfile module. I extract the tar.gz to a
tempdir and copy the new file there and re-compress all the files back into
a tar.gz.  Is there a better way to do it?

Thanks
Pulkit

(Sorry for the subject earlier)

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091222/42b98774/attachment.html>


More information about the Python-list mailing list