1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-09-27 15:00:35 +02:00

Fixed the news sync script

This commit is contained in:
Ombridride 2015-09-15 10:42:56 +02:00
parent dda2da1b43
commit ac9355a6ee

View File

@ -4,5 +4,5 @@
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/
rsync -azrv --delete /home/quentinbd/mff/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"