dcsimg
Linux Today: Linux News On Internet Time.





How to create and manipulate tar archives using Python

May 24, 2020, 10:00 (0 Talkback[s])
(Other stories by Egidio Docile)

On Linux and other Unix-like operating systems, tar is undoubtedly one of the most used archiving utilities; it let us create archives, often called ???tarballs???, we can use for source code distribution or backup purposes. In this tutorial we will see how to read, create and modify tar archives with python, using the tarfile module.

Complete Story