ho notato che evolution permette di importare solo un file VCF per volta, nel caso abbiate circa 200 file sparsi per l’hd l’importazione diventa qualcosa di drammatico. Per risolvere il problema io ho creato uno stupidissimo script bash che fa il “merge” di tutti i file VCF in una directory in un unico grande file:

#!/bin/bash
# merged-vcf.sh by Fullo
# GPL licensed

echo “Sto unendo tutti i file VCF presenti in $PWD”
for file in *.vcf
do
    echo “sto aggiungendo: $file”
    cat “$file” >> “merged-vcf.vcf”
    printf ‘\n’ >> “merged-vcf.vcf”
done

echo “Ho finito, troverai un file chiamato merged-vcf.vcf contenente tutti i vecchi contatti”

il funzionamento è abbastanza banale, copiate il testo qui sopra in un file chiamato merged-vcf.sh dategli permessi di esecuzione con

chmod +x merged-vcf.sh

e fatelo partire dalla directory contenente tutti i vostri VCF a questo punto maggicamente vi ritroverete un file chiamato merged-vcf.vcf che una volta importato da evolution (file->importa->importa file singolo) vi inserirà tutti i contatti nella vostra rubrica.

PHP Warnings

lib/WikiUser.php:59: Notice[8]: Only variables should be assigned by reference

lib/Template.php:112: Notice[8]: Only variables should be assigned by reference

lib/Template.php:114: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'html'):112: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'html'):114: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'html'):112: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'html'):114: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'body') (In template 'html'):112: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'body') (In template 'html'):114: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'top') (In template 'body') (In template 'html'):112: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'top') (In template 'body') (In template 'html'):114: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'body') (In template 'html'):112: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'body') (In template 'html'):114: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'browse') (In template 'body') (In template 'html'):112: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'browse') (In template 'body') (In template 'html'):114: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'browse-footer') (In template 'browse') (In template 'body') (In template 'html'):112: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'browse-footer') (In template 'browse') (In template 'body') (In template 'html'):114: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'actionbar') (In template 'browse-footer') (In template 'browse') (In template 'body') (In template 'html'):112: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'actionbar') (In template 'browse-footer') (In template 'browse') (In template 'body') (In template 'html'):114: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'body') (In template 'html'):112: Notice[8]: Only variables should be assigned by reference

lib/Template.php (In template 'body') (In template 'html'):114: Notice[8]: Only variables should be assigned by reference