forked from obel1x/fedora-OEMDRV
First Commit
This commit is contained in:
+13
@@ -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
|
||||
#
|
||||
Reference in New Issue
Block a user