#! /bin/sh
# /home/scripts_shell/create_zipped_contabo_v2.sh

sudo rm -f /home/firmware/CONTABO_server_v2.zip

#zip
#-r /home/firmware/CONTABO_server_v2.zip
#/home/scripts_shell/*.sh
#/var/www/html/v2/*.php
#/var/www/html/v2/*.html
#/var/www/html/v2/*.css
#/var/www/html/v2/*.js
#/var/www/html/v2/authorize
#/var/www/html/v2/chart_js_one_site
#/var/www/html/v2/chart_js_one_sonde
#/var/www/html/v2/chart_js_one_sonde_real_time
#/var/www/html/v2/graphiques_hebdo/*.gdf
#/var/www/html/v2/graphiques_hebdo/*.php
#/var/www/html/v2/icone
#/var/www/html/v2/inscriptions_sonde
#/var/www/html/v2/inscriptions_updates
#/var/www/html/v2/inscriptions_wireguard
#/var/www/html/v2/M?/*.*
#/var/www/html/v2/M??/*.*
#/var/www/html/v2/M???/*.*
#/var/www/html/v2/photos
#/var/www/html/v2/real_time
#/var/www/html/v2/scripts_PHP
#/var/www/html/v2/SMS
#/var/www/html/v2/styles
#/var/www/html/v2/ToSend/*.php
#/var/www/html/v2/ToSend/*.html
#/var/www/html/v2/wireguard

#/var/www/html/v2/dashboard
#/var/www/html/v2/graphiques_sites
#/var/www/html/v2/graphiques_sondes
#/var/www/html/v2/PHPMailer-master
#/var/www/html/v2/OVH_API

zip -r /home/firmware/CONTABO_server_v2.zip /home/scripts_shell/*.sh /var/www/html/v2/*.php /var/www/html/v2/*.html /var/www/html/v2/*.css /var/www/html/v2/*.js /var/www/html/v2/authorize /var/www/html/v2/chart_js_one_site /var/www/html/v2/chart_js_one_sonde /var/www/html/v2/chart_js_one_sonde_real_time  /var/www/html/v2/graphiques_hebdo/*.gdf /var/www/html/v2/graphiques_hebdo/*.php /var/www/html/v2/icone /var/www/html/v2/inscriptions_sonde /var/www/html/v2/inscriptions_updates /var/www/html/v2/inscriptions_wireguard /var/www/html/v2/M?/*.* /var/www/html/v2/M??/*.* /var/www/html/v2/M???/*.* /var/www/html/v2/photos /var/www/html/v2/real_time /var/www/html/v2/scripts_PHP /var/www/html/v2/SMS /var/www/html/v2/styles /var/www/html/v2/ToSend/*.php /var/www/html/v2/ToSend/*.html /var/www/html/v2/wireguard

