ReadError, "not a bzip2 file"

2006-09-13 Thread itzel
Hello!! In using tarfile to group thousands of small files from a directory and then compress it. I already compress a group of files in my pc, but I need do it in a server and I'm testing the same procedure, but it doesn't work . A "ReadError" appear: "not a bzip2 file". I'm using this script: im

Re: Create TarFile using python

2006-09-12 Thread itzel
yes, i did. I'm checking the link in ASPN and I think that it'll works for "my problem" thanks a lot!! One more question... I'll need do it frecuently: add more directories into the same block. Is the same procedure? Thanks!!! ps. sorry about gramatic, I don't write english frecuently Y

Create TarFile using python

2006-09-12 Thread itzel
I have a problem. I'm new in python and I need a script that group a list of files using Tar file utility and then, compress that block using a compress utility (gzip i think). I already found some information and i try to apply it, but my scripy doesn't work. The first problem is when I had tried