Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
titleSkrypt event.on_before_burn_dvd
#!/bin/bash

URL=sftp://192.168.1.200:222
USER="biblioteka"
PASS="123abc"
REMOTE_DIR=sowa_backup/
LOCAL_DIR=/home/sowa/.sowang/var/backup/00_arch

lftp -u ${USER},"${PASS}" -e "mirror -eRveRL ${LOCAL_DIR} ${REMOTE_DIR}; quit;" ${URL}

...