mercredi 29 avril 2015

Truncate head of file in Python

How to truncate x bytes of the head file ? I have a log which has 5 GB and I want to cut first 3 GB ( remove old information) .

Aucun commentaire:

Enregistrer un commentaire