sauvegarde
This commit is contained in:
commit
bf7cf1df20
8
sauvegarde/script2-tomcat
Executable file
8
sauvegarde/script2-tomcat
Executable file
@ -0,0 +1,8 @@
|
||||
#!/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}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user