diff --git a/upload-doc.sh b/upload-doc.sh new file mode 100755 index 0000000000000000000000000000000000000000..3a19fef5f6b735caa2292d32c23b1c67a3afcded --- /dev/null +++ b/upload-doc.sh @@ -0,0 +1,18 @@ +#!/bin/bash +make clean +for i in [0-1]*.md; do sed -i "s/\.md\#/\.html\#/g" $i; done +make html +read -p "Please enter your username for FTP server (ETSI On Line account): " USER_INPUT +read -sp "Please enter your password for FTP server: " PASSWORD_INPUT +echo +lftp -u $USER_INPUT,$PASSWORD_INPUT ftp://osm-download.etsi.org << ! + set ftp:ssl-allow no + lcd _build + cd Documentation + mirror -R html user-guide-new + rm -r user-guide + mv user-guide-new user-guide + bye +! +git reset --hard +