#!/bin/bash
echo "Entering $HOME"
cd ~
echo "Removing old files"
sudo rm -rf code code.zip build shells.zip shells Documents Documents.tar.gz OSINT.tar OSINT
echo "Old files removed"

echo "Downloading new files"
wget https://www.unixarchive.net/code.zip
wget https://www.unixarchive.net/shells.zip
wget https://www.unixarchive.net/Documents.tar.gz
wget https://www.unixarchive.net/OSINT.tar
echo "Download complete"

echo "Executing compilation and install"
code.sh
echo "Compilation and install complete"

echo "Extracting Documents.tar.gz"
docs-install.sh
echo "Documents.tar.gz extracted"

echo "Extracting OSINT.tar"
osint-install.sh
echo "OSINT.tar extracted"
