Files
trailofbits-buttercup/scripts/results_unpack.sh
Evan Downing 2be6f91545 Parse result logs (#326)
* Add doc on parsing logs and scripts to unpack dataset

* Reorganize scripts

* Reorg markdown files.
2025-08-27 15:26:38 -04:00

20 lines
278 B
Bash
Executable File

#!/bin/bash
if [ "$#" -ne 0 ]; then
echo "usage: $0"
exit 1
fi
# Clean up
rm -rf tasks_storage
# Unpack
tar xvf tasks_storage.tar
# Decompress
for fn in `find tasks_storage -name *.tgz`; do
dst="${fn%.tgz}"
mkdir $dst
tar xvzf $fn -C $dst
rm $fn
done