1,18 → 1,18 |
#!/bin/bash |
############################################################################################################## |
# But : téléchargement automatique en local des données des projets depuis le serveur de Tela Botanica par ftp |
# Auteur : Jean-Pascal Milcent <jpm@tela-botanica.org> (translate bat file to shell script) |
# Auteur : Jean-Pascal Milcent <jpm@tela-botanica.org> (translate bat file to shell script) |
# License : GPL v3 |
# Création : 07 decembre 2011 |
# Version: 0.1 |
# 2014-03-20 : changement dossier distant suite à passage sur Agathis. |
# 2011-12-07 : Création. |
# 2011-12-07 - Création |
# $Id$ |
############################################################################################################## |
# Constante |
NBREPARAM=$# |
APPDIR_ABSOLU=`pwd`; |
DOSSIER_LOCAL="$APPDIR_ABSOLU/donnees/" |
DOSSIER_DISTANT="/" |
DOSSIER_DISTANT="/www/eflore/donnees/" |
# Aide |
E_OPTERR=65 |
if [ "$1" = '--help' ] |
38,7 → 38,7 |
--) shift ; break ;; |
*) echo "Internal error!" ; exit 1 ;; |
esac |
shift 2 |
shift 2 |
done |
|
# Transfert sur le serveur par FTP |