add msg when scp
This commit is contained in:
parent
0d3794eb81
commit
de803ea4d4
1 changed files with 1 additions and 0 deletions
|
@ -183,6 +183,7 @@ if [ -n "${file}" ]; then
|
|||
file_uri=$(echo "${file}" | sed 's|/srv/expendable_data|https://ficheros.koti.site|g')
|
||||
data="${data}, \"file_uri\": \"${file_uri}\""
|
||||
if [ -n "${move_to}" ]; then
|
||||
message "Moving file '${file}' to '${move_to}'..."
|
||||
scp -P "${move_to_port}" "${file}" "${move_to}/" && rm -rf "${file}"
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue