ap31/prod/script
2021-10-21 15:28:18 +02:00

8 lines
252 B
Bash
Executable File

#!/bin/bash
DAT=$(date "+%X")
fich="AP31-Projet1.war"
chem="/home/thomas.millot/NetBeansProjects/AP31-Pojet1/dist/""${fich}"
scp "${chem}" root@10.121.38.66:/usr/libexec/tomcat10/webapps
scp "${chem}" root@10.121.38.66:/root/tomcat/"${fich}"-"${DAT}"