Commit 1f37188b authored by Lionel Ferrafiat's avatar Lionel Ferrafiat
Browse files

Update cleanUpload.sh pour repertoire non vide

parent 328d3fd4
......@@ -7,5 +7,8 @@
# le script se lance par crontab depuis home #
####################################################
# marche si repertoire vide
#find /var/www/html/Upload/ -type d -mtime +7 -delete;
find /var/www/html/Upload/ -type d -mtime +7 -delete;
#marche avec repertoire non vide
find /var/www/html/Upload/ -type d -mtime +7 -exec rm -rv {} + ;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment