Browse Source

change backupfolder name

master
Christian Rotzoll 6 years ago
parent
commit
cd30edf909
  1. 2
      home.admin/config.scripts/dropbox.upload.sh

2
home.admin/config.scripts/dropbox.upload.sh

@ -55,7 +55,7 @@ elif [ "${MODE}" == "upload" ]; then
fi fi
DEVICE=$(echo "${hostname}" | awk '{print tolower($0)}' | sed -e 's/ /-/g') DEVICE=$(echo "${hostname}" | awk '{print tolower($0)}' | sed -e 's/ /-/g')
BACKUPFOLDER=.lndbackup-$DEVICE BACKUPFOLDER=lndbackup-$DEVICE
FILENAME=$(basename "${SOURCEFILE}") FILENAME=$(basename "${SOURCEFILE}")
sudo curl -s -X POST https://content.dropboxapi.com/2/files/upload \ sudo curl -s -X POST https://content.dropboxapi.com/2/files/upload \

Loading…
Cancel
Save