Skip to content

Instantly share code, notes, and snippets.

@dumbs
Created February 12, 2011 14:55
Show Gist options
  • Save dumbs/823804 to your computer and use it in GitHub Desktop.
Save dumbs/823804 to your computer and use it in GitHub Desktop.
Étape 1/3 : Téléchargement
--2011-02-12 15:53:54-- http://www.lirmm.fr/~lafourcade/JDM-LEXICALNET-FR/?C=M;O=D
Résolution de www.lirmm.fr (www.lirmm.fr)... 193.49.104.249
Connexion vers www.lirmm.fr (www.lirmm.fr)|193.49.104.249|:80...connecté.
requête HTTP transmise, en attente de la réponse...200 OK
Longueur: 6900 (6,7K) [text/html]
Sauvegarde en : «STDOUT»
100%[====================================================================================================================================================================================================================================>] 6.900 --.-K/s ds 0,05s
2011-02-12 15:53:55 (128 KB/s) - envoi vers sortie standard [6900/6900]
AVERTISSEMENT: les métacaractères ne sont pas supportés en HTTP.
--2011-02-12 15:53:55-- http://www.lirmm.fr/~lafourcade/JDM-LEXICALNET-FR/%3Cimg%20src=%22/icons/text.gif%22%20alt=%22[TXT]%22%3E%20%3Ca%20href=%2202122011-LEXICALNET-JEUXDEMOTS-FR-NOHTML.txt%22%3E02122011-LEXICALNET-..>%3C/a%3E%2012-Feb-2011%2007:44%20%20%2068M%20%20
Résolution de www.lirmm.fr (www.lirmm.fr)... 193.49.104.249
Connexion vers www.lirmm.fr (www.lirmm.fr)|193.49.104.249|:80...connecté.
requête HTTP transmise, en attente de la réponse...404 Not Found
2011-02-12 15:53:55 ERREUR 404: Not Found.
Étape 2/3 : Conversion vers sql
dump2sql.sh : conversion des dumps de JeuxDeMots vers du sql (sqlite3).
La progression est affichée avec pv. Si vous n'avez pas pv, supprimez la ligne correspondante dans ce script.
Et c'est parti !
cat: <img src="/icons/text.gif" alt="[TXT]"> <a href="02122011-LEXICALNET-JEUXDEMOTS-FR-NOHTML.txt">02122011-LEXICALNET-..&gt;</a> 12-Feb-2011 07:44 68M : No such file or directory
./dump2sqlite.sh: line 41: <img src="/icons/text.gif" alt="[TXT]"> <a href="02122011-LEXICALNET-JEUXDEMOTS-FR-NOHTML.txt">02122011-LEXICALNET-..&gt;</a> 12-Feb-2011 07:44 68M : No such file or directory
pv: option requires an argument -- s
Essayez `pv --help' pour plus d'information.
Étape 3/3 : Insertion dans la bdd
1,17kO 0:00:00 [22,4MB/s] [================================================================================================================================================================================================================================>] 100%
chgrp: www-data: Invalid argument
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment