From 52833e6a4f06da56d2adeea000c9db9b2510d3a4 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Tue, 12 Oct 2021 17:19:09 +0200 Subject: Ajout de targz aux comparaisons --- exp/exp.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'exp/exp.sh') diff --git a/exp/exp.sh b/exp/exp.sh index 02cea84..113d154 100755 --- a/exp/exp.sh +++ b/exp/exp.sh @@ -7,6 +7,7 @@ # - GIT_PATH: the path of the repo git-dir # - MAX_VERSION: the max number for versions for the experiment # - COMMITS: the name of the file that contains the lists of versions +# - TARGZ: the path of the tar.gz dir # - DIFFS: the path of the git diff dir # - REAL: the path of the real size dir # - GIT_NOPACK: the path of the git nopack dir @@ -47,6 +48,10 @@ do log "save real size for this version" du -b --summarize $REPO_PATH > $(printf "%s.versions/%05d" $REAL $i) + # Create tar.gz for this version + log "create targ.gz for this version" + tar -czf $(printf "%s/%05d.tar.gz" $TARGZ $i) $REPO_PATH + # Create git diff for this version log "create git diff for this version" diff=$(printf "%s/%05d.diff.gz" $DIFFS $i) -- cgit v1.2.3