gwgen archiveΒΆ
Archive one or more experiments or a project instance
This method may be used to archive experiments in order to minimize the amount of necessary configuration files
usage: gwgen archive [-h] [-d str] [-f str]
[-fmt { 'gztar' | 'bztar' | 'tar' | 'zip' }] [-p str]
[-ids exp1,[exp2[,...]]]] [-P] [-na] [-np]
[-e str [str ...]] [-k] [-rm] [-n] [-L]
- Optional Arguments
-d, --odir The path where to store the archive -f, --aname The name of the archive (minus any format-specific extension). If None, defaults to the projectname -fmt The format of the archive. If None, it is tested whether an archived with the name specified by `aname` already exists and if yes, the format is inferred, otherwise ``’tar’`` is used
Possible choices: bztar, gztar, tar, zip
-p, --projectname If provided, the entire project is archived -ids, --experiments If provided, the given experiments are archived. Note that an error is raised if they belong to multiple project instances -P=False, --current-project=False If True, `projectname` is set to the current project -na=False, --no-append=False It True and the archive already exists, it is deleted -np=False, --no-project-paths=False If True, paths outside the experiment directories are neglected -e, --exclude Filename patterns to ignore (see :func:`glob.fnmatch.fnmatch`) -k=False, --keep=False If True, the experiment directories are not removed and no modification is made in the configuration -rm=False, --rm-project=False If True, remove all the project files -n=False, --dry-run=False If True, set, do not actually make anything -L=False, --dereference=False If set, dereference symbolic links. Note: This is automatically set for ``fmt==’zip’``