Ignore:
Timestamp:
Apr 16, 2008, 12:09:47 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Various cosmetic changes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • research/2008-displacement/README

    r2273 r2279  
    11# Trouver des images au pif
    2 % find ~/4chan/unsorted-4chan/http* -name '1[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9].??g' | rev | sort -k2 -t. | rev | xargs -n 1 ./main | tee fs-4chan.txt
    3 % find ~/4chan/unsorted-4chan/http* -name '1[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9].??g' | rev | sort -k2 -t. | rev | xargs -n 1 ./main-jajuni | tee jajuni-4chan.txt
     2% find ~/4chan/unsorted-4chan/http* -name '1[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9].???' | rev | sort -k2 -t. | rev | xargs -n 1 ./main | tee fs-4chan.txt
     3% find ~/4chan/unsorted-4chan/http* -name '1[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9].???' | rev | sort -k2 -t. | rev | xargs -n 1 ./main-jajuni | tee jajuni-4chan.txt
    44% cat /tmp/4chanlist.txt | xargs -n 1 ./main | tee -a fs-4chan.txt
    55
     
    190190for x in out-*.txt; do sort -k7 $x | head -20 ; done | cut -f1 -d: | sort | uniq -c | sort -n
    191191
     192### Pour faire des répertoires
     193for x in $(seq -w 00 09); do echo $x; mkdir -p /tmp/4chan/$x; cp $(find ~/4chan/unsorted-4chan/http* -name '1[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]'$x'.???') /tmp/4chan/$x; done
     194
     195### Conversion du vieux format de résultats
     196cat -n $x | sed 's/^  *[0-9]*\([0-9]\)[[:space:]]*/[\1] /' | sed 's/....###/###/' | sed 's/\[[27]/[1/; s/\[[38]/[2/; s/\[[49]/[3/; s/\[[50]/[4/'
     197
Note: See TracChangeset for help on using the changeset viewer.