mirror of https://github.com/n64decomp/007.git
23 lines
469 B
Bash
Executable File
23 lines
469 B
Bash
Executable File
#!/bin/bash
|
|
if [ -z "$1" ]; then
|
|
DOALL="1"
|
|
echo "Processing Everything"
|
|
fi
|
|
|
|
true="1"
|
|
if [ "$DOALL" == "1" ] || [ $1 == 'files' ]; then
|
|
while IFS=, read -r offset size name compressed extract
|
|
do
|
|
echo "removing $name"
|
|
rm -f $name
|
|
done < filelist.u.csv
|
|
fi
|
|
|
|
if [ "$DOALL" == "1" ] || [ $1 == 'images' ]; then
|
|
while IFS=, read -r offset size name
|
|
do
|
|
echo "removing $name"
|
|
rm -f $name
|
|
done < imagelist.u.csv
|
|
fi
|