script/rest/process_iri.awk
changeset 9 bb44692e09ee
equal deleted inserted replaced
8:b7f4b0554ef8 9:bb44692e09ee
       
     1 {
       
     2     cmd = "ls -rc " $5"/*.iri | head -n1";
       
     3     cmd | getline RES ;
       
     4     close(cmd); 
       
     5     cmd = "python ../export_twitter.py -d ../enmi2009_twitter_profile.db -x ../exclude.txt -s \""$2"\" -D "$4" -R -I "RES
       
     6     print cmd;
       
     7     system(cmd);
       
     8     cmd = "scp "RES" web.iri.centrepompidou.fr:/iridata/www/amateur/nouveaumonde/static/media/ldt/"$5"/";
       
     9     print(cmd);   
       
    10     system(cmd);
       
    11 }