Completed luna config for real this time

This commit is contained in:
KoenDR06 2025-02-27 19:08:42 +00:00
parent 5ad8529721
commit 2c75ae213a
17 changed files with 357 additions and 62 deletions

14
misc/backup.sh Executable file
View file

@ -0,0 +1,14 @@
#!/run/current-system/sw/bin/zsh
cd /home/horseman
file=backups/$(date +%Y-%m-%d).tar
tar -cf $file Documents
if grep -q $(sha256sum $file) backups/sum; then
echo 'hashes match, quitting'
rm $file
exit 0
fi
echo $(sha256sum $file) > backups/sum
exit 0