1234567891011121314151617 |
- #!/bin/bash
- set -e
- echo -e -n "Check NCFTP already installed : "
- if ! [ -x "$(command -v ncftp)" ]
- then
- echo -e "[\e[91mNO\e[0m]\n"
- sudo apt-get install ncftp -y
- else
- echo -e "[\e[92mOK\e[0m]\n"
- fi
- echo -e "Upload genethos"
- ncftpput -R -v -u "wareck" -p "zorn69" ftpperso.free.fr openrig/ /var/www/folivier/genethos/*
- sleep 5
- echo ""
- echo -e "Upload grinder"
- ncftpput -R -v -u "wareck" -p "zorn69" ftpperso.free.fr grinder/ /var/www/folivier/grinder/*
- sleep 5
|