Home | History | Annotate | Download | only in python2.7

Lines Matching refs:tar

339     """Create a (possibly compressed) tar file from all the files under
348 The output tar file will be named 'base_name' + ".tar", possibly plus
361 archive_name = base_name + '.tar' + compress_ext.get(compress, '')
375 logger.info('Creating tar archive')
390 tar = tarfile.open(archive_name, 'w|%s' % tar_compression[compress])
392 tar.add(base_dir, filter=_set_uid_gid)
394 tar.close()
464 'gztar': (_make_tarball, [('compress', 'gzip')], "gzip'ed tar-file"),
465 'bztar': (_make_tarball, [('compress', 'bzip2')], "bzip2'ed tar-file"),
466 'tar': (_make_tarball, [('compress', None)], "uncompressed tar file"),
506 """Create an archive file (eg. zip or tar).
509 extension; 'format' is the archive format: one of "zip", "tar", "bztar"
519 'owner' and 'group' are used when creating a tar archive. By default,