historical/tmrw.git/tmrw.sh
2024-01-16 11:20:27 -06:00

26 lines
509 B
Bash

echo "Preparing..."
cd $1
mkdir TMRW-BACKUPS
cd TMRW-BACKUPS
mkdir $(uname -m)
cd $(uname -m)
mkdir $(scutil --get LocalHostName)
cd $(scutil --get LocalHostName)
DATE="$(date)"
mkdir "$DATE"
cd "$DATE"
mkdir Apps
mkdir Vids
mkdir Pics
mkdir Music
mkdir Docs
mkdir ./Pics/nhance-outputs
echo "Backing up... (This'll take awhile!)"
cp -r /Applications/* ./Apps
cp -r ~/Documents/* ./Docs
cp -r ~/Movies/* ./Vids
cp -r ~/Pictures/* ./Pics
cp -r ~/nhance/output* ./Pics/nhance-outputs
cp -r ~/Music/* ./Music