re-enable fuse-archive-tar

This commit is contained in:
askiiart 2024-11-16 15:02:55 -06:00
parent a737d5906f
commit 4fb1073209
Signed by untrusted user who does not match committer: askiiart
GPG key ID: EA85979611654C30

View file

@ -1,4 +1,5 @@
#!/usr/bin/env bash
PATH=$HOME/Documents/v0.1.14/fuse-archive-0.1.14/out/:$PATH
DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
cd $DIR
mkdir ./data/ext-workdir
@ -18,13 +19,13 @@ time dwarfs ./data/ext-workdir/dwarfs ./data/mountpoints/dwarfs/
#mkdir ./data/mountpoints/fuse-archive-tar-gz/
#time fuse-archive ./data/ext-workdir/fuse-archive.tar.gz ./data/mountpoints/fuse-archive-tar-gz/
#if [ ! -f ./data/ext-workdir/fuse-archive.tar ]; then
# cd ./data/datasets/
# time tar -cf ../ext-workdir/fuse-archive.tar .
# cd -
#fi
#mkdir ./data/mountpoints/fuse-archive-tar/
#time fuse-archive ./data/ext-workdir/fuse-archive.tar ./data/mountpoints/fuse-archive-tar/
if [ ! -f ./data/ext-workdir/fuse-archive.tar ]; then
cd ./data/datasets/
time tar -cf ../ext-workdir/fuse-archive.tar .
cd -
fi
mkdir ./data/mountpoints/fuse-archive-tar/
time fuse-archive ./data/ext-workdir/fuse-archive.tar ./data/mountpoints/fuse-archive-tar/
# **DISABLED** - also too slow
#cd ./data/datasets/