Actualiser stats-cms.sh
This commit is contained in:
parent
a86d7656fa
commit
bc3cd2503e
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
# Plus besoin de ce script → https://octoforge.fr/octopuce/cmsscanner <3
|
||||
# Compte le nombre de fichiers spécifiques à divers CMS pour établir grosso-modo le nombre de CMS hébergés
|
||||
/usr/bin/find /var/www/vhosts/ -maxdepth 4 -name wp-config.php | wc -l | sed 's/.*/Wordpress : &/' > stats-cms.txt
|
||||
/usr/bin/find /var/www/vhosts/ -maxdepth 4 -name spip.png | wc -l | sed 's/.*/SPIP : &/' >> stats-cms.txt
|
||||
|
|
|
|||
Loading…
Reference in New Issue