8 lines
252 B
Bash
Executable File
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}"
|