pxap33/sauvegarde/script2-tomcat
2021-10-19 09:28:09 +02:00

9 lines
261 B
Bash
Executable File

#!/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}"