JOPLIN : Script to rename tacitpart file

My script to rename tacitpart file :

#!/bin/bash
  
# ARIAS Frederic
#
# For MAC OS do
#

suffix=".tacitpart"
path="WebDAV"

for file in $path/*.tacitpart
do
    if [[ -f $file ]]; then
	filenew=$(basename $file $suffix)
        echo $file" -> "$filenew 
	mv $file $path/$filenew
	touch $path/$filenew
    fi
done

# 
for file in $path/.resource/*.tacitpart
do
    if [[ -f $file ]]; then
	$filenew = ${file/%$suffix}
        echo $file." -> ".$filenew
        mv $file $path/.resource/$filenew
        touch $path/.resource/$filenew
    fi
done

OVH vs PHPNET.ORG : Hébergement WordPress

Donc si j’ai bien compris OVH vs PHPNET.ORG :

OVH PRO PHPNET.ORG : Pack ProStandard
(actuellement)
PHPNET.ORG : MUTU MAX Utilisation réelle
Prix 5,99 Euros HT 7,99 Euros HT 7,99 Euros HT
Nom de domaine gratuit 1 0 0
Espace disque 250 Go 150 Go 500 Go 14 Go
Adresse Email 100 à 5Go 1000 à 3 Go 1000 à 3 Go 20
Compte FTP 1000 1000 6
Traffic Illimité Illimité Illimité Max 70 Go/mois
Base de donnée 3x 400 Mo
1x 2 Go
20 * 1 Go 6 * 800 Mo La plus grosse 176 Mo / 20 bases de données
Nombre de multi-ste 10 20 100 20 : cyber-neurones.org / …
Nombre de visiteur simultanée 125 12 12 12

Source : https://www.ovh.com/fr/hebergement-web/

Mon graphique de consommation :

Sachant que mon offre n’existe plus, maintenant il y a une limitation sur les bases de données. On a 6 bases de données à la place de 20 bases de données …

Le problème chez OVH c’est le nombre de base, a quoi cela sert d’avoir 10 domaines si on a seulement 4 bases de données.

Installation de metricbeat via brew sur MacOS

Les commandes :

$ brew tap elastic/tap
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
erlang@20                                                newman                                                   open-zwave                                               stellar-core
==> Deleted Formulae
erlang@19                                                                                                          ruby@2.0

==> Tapping elastic/tap
Cloning into '/usr/local/Homebrew/Library/Taps/elastic/homebrew-tap'...
remote: Enumerating objects: 23, done.
remote: Counting objects: 100% (23/23), done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 23 (delta 10), reused 3 (delta 0), pack-reused 0
Unpacking objects: 100% (23/23), done.
Tapped 18 formulae (66 files, 115.6KB).


$ brew install elastic/tap/metricbeat-full
==> Installing metricbeat-full from elastic/tap
==> Downloading https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-7.4.2-darwin-x86_64.tar.gz?tap=elastic/homebrew-tap
######################################################################## 100.0%
==> Caveats
To have launchd start elastic/tap/metricbeat-full now and restart at login:
  brew services start elastic/tap/metricbeat-full
Or, if you don't want/need a background service you can just run:
  metricbeat
==> Summary
?  /usr/local/Cellar/metricbeat-full/7.4.2: 62 files, 129.7MB, built in 1 minute 27 seconds