5 lines
192 B
Bash
5 lines
192 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
lftp -e "set sftp:auto-confirm yes; open -u $INPUT_SFTP_USER,$INPUT_SFTP_PW $SFTP_INPUT_HOST; mirror -v --no-perms --delete --reverse $INPUT_SOURCE $INPUT_DESTINATION; quit"
|