#!/bin/bash DAT=$(date "+%X") fich="projetSDIS29_2.war" chem="/home/aurelien.meunier/NetBeansProjects/projetSDIS29_2/dist/""${fich}" scp "${chem}" root@10.121.38.70:/usr/libexec/tomcat10/webapps scp "${chem}" root@10.121.38.70:/root/tomcat/"${fich}"-"${DAT}"