Re: [Tutor] File compression

2006-06-28 Thread Dave Kuhlman
On Tue, Jun 27, 2006 at 03:27:47PM -0700, Matthew White wrote: > Hi Magnus, > > I would check out the python tarfile module: > > http://docs.python.org/lib/module-tarfile.html > > Looks like it will compress with bzip too! Also look at the following: - http://docs.python.org/lib/module-zipfile

Re: [Tutor] File compression

2006-06-27 Thread Matthew White
Hi Magnus, I would check out the python tarfile module: http://docs.python.org/lib/module-tarfile.html Looks like it will compress with bzip too! -mtw On Wed, Jun 28, 2006 at 12:19:19AM +0200, Magnus Wirström ([EMAIL PROTECTED]) wrote: > Hi Everyone > > I'm starting to python and i need to w

[Tutor] File compression

2006-06-27 Thread Carlos Daniel Ruvalcaba Valenzuela
I think this is something that can be easily madded with some shell scripting, i suppose you are using Linux or a Unix derivate. In this case tar + bzip2 is your friend, altough for the volume of files i sugest looking at something like rsync or unison and coupling it with cron for automating the

[Tutor] File compression

2006-06-27 Thread Magnus Wirström
Hi Everyone I'm starting to python and i need to write a program that are able to compress a high amount of files and directories into a single file that is later going to be transfered with ftp to a backup storage server. The data is a quite big amount (over 1.5 gb in 4 files and 1300 d