script/rest/process_iri.awk
author Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
Mon, 07 Feb 2011 14:54:52 +0100
changeset 41 933198f8c8ee
parent 9 bb44692e09ee
permissions -rw-r--r--
Added tag V00.07 for changeset 9564c8193e88

{
    cmd = "ls -rc " $5"/*.iri | head -n1";
    cmd | getline RES ;
    close(cmd); 
    cmd = "python ../export_twitter.py -d ../enmi2009_twitter_profile.db -x ../exclude.txt -s \""$2"\" -D "$4" -R -I "RES
    print cmd;
    system(cmd);
    cmd = "scp "RES" web.iri.centrepompidou.fr:/iridata/www/amateur/nouveaumonde/static/media/ldt/"$5"/";
    print(cmd);   
    system(cmd);
}