mirror of
https://github.com/trailofbits/buttercup
synced 2026-06-21 14:11:39 +00:00
2be6f91545
* Add doc on parsing logs and scripts to unpack dataset * Reorganize scripts * Reorg markdown files.
20 lines
278 B
Bash
Executable File
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 |