use mirror command

This commit is contained in:
ray 2020-02-01 19:38:42 +00:00
parent dd1c94552d
commit 5834b40c9c
1 changed files with 5 additions and 0 deletions

5
publish.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
_password="$1"
lftp -e "mirror -R blog ." -u "hugo@rayelliott.dev,$_password" ftp://ftp.rayelliott.dev