diff --git a/prod/script b/prod/script new file mode 100755 index 0000000..dde8fe8 --- /dev/null +++ b/prod/script @@ -0,0 +1,7 @@ +#!/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}"