1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-12-13 22:25:21 +01:00

add some server side scripts and re-organize the script folder

This commit is contained in:
BUISSON-DEBON Quentin
2015-08-17 01:14:55 +02:00
parent 502a814dd3
commit caed822407
15 changed files with 273 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
#!/bin/sh
#rsync -e "ssh -i /root/.ssh/id_dsa" -av --delete-after /home/quentinbd/minetest/worlds/minetestforfun/news.txt root@192.168.1.20:/var/www/wordpress/wp-content/uploads/news/
# Check the public key rights
chmod 600 /home/quentinbd/.ssh/id_rsa
chmod 600 /home/quentinbd/.ssh/id_rsa.pub
# Begin the RSYNC
rsync -azrv --delete /home/quentinbd/minetest/worlds/minetestforfun/news.txt quentinbd@192.168.1.20:/var/www/wordpress/wp-content/uploads/news/
echo "Transfert réussi de news.txt sur le wordpress"