First Commit

This commit is contained in:
Daniel Pätzold
2026-01-02 11:24:52 +01:00
commit f48c656997
18 changed files with 999 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
source ./setup_system.conf
mkdir -p ${HOME}/temp
cd ${SYSCONFIGPATH}
tar --exclude='.*' -I 'zstd -9' -cf ${HOME}/temp/sys_config.tar.zst ${SYSCONFIGPATH}
if [ $? -eq 0 ]; then
echo "Archive of ${SYSCONFIGPATH} has been written to ~/temp/sys_config.tar.zst"
else
echo "Some Errors occured, quit"
fi
# TODO
# - up file to NC - is only possible, when setup already has the webdav-token created
#