gdir_to_tar(gdir, base_dir=None, delete=True)¶
Writes the content of a glacier directory to a tar file.
The tar file is located at the same location of the original directory. The glacier directory objects are useless if deleted!
path to the basedir where to write the directory (defaults to the same location of the original directory)
delete the original directory afterwards (default)
- the path to the tar file
Files writen to the glacier directory: