Subversion Repositories eFlore/Projets.eflore-projets

Compare Revisions

Ignore whitespace Rev 1036 → Rev 1037

/trunk/chargerDonnees.sh
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
# 2011-12-07 - Création
# $Id$
# 2014-03-20 : changement dossier distant suite à passage sur Agathis.
# 2011-12-07 : Création.
##############################################################################################################
# Constante
NBREPARAM=$#
APPDIR_ABSOLU=`pwd`;
DOSSIER_LOCAL="$APPDIR_ABSOLU/donnees/"
DOSSIER_DISTANT="/www/eflore/donnees/"
DOSSIER_DISTANT="/"
# 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