Mercurial > hg > cc > cirrus_home
view bin/extract.sh @ 24:6fdebccf6492
(none)
| author | Henry S. Thompson <ht@inf.ed.ac.uk> |
|---|---|
| date | Wed, 18 Mar 2020 11:08:23 +0000 |
| parents | c858a4d4bd4f |
| children | a82c325e8b32 |
line wrap: on
line source
#!/bin/bash me=$$ SHARED=/home/shared/ht cd $SHARED/data/$(hostname) mkdir -p logs while read id do echo starting ${id} $(date) >> logs/${me}_log unpigz -dp 1 -c /data/common_crawl/CC-MAIN-2019-35/CC-MAIN-${id}.warc.gz|$SHARED/bin/warc.sh ${id} application/pdf 2>> logs/${me}_log echo finished ${id} $(date) >> logs/${me}_log done
