Skip to content

Commit a8cbce8

Browse files
committed
minor updates
1 parent 4c1eb6e commit a8cbce8

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

run.sh

+23-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,26 @@
11
#!/bin/bash -e
22

33
source .env/bin/activate
4-
python download.py input/unitsres6_9.txt >out.log 2>&1 &
4+
#python download.py input/allbbls3a.tsv >allbbls3a.log 2>&1 &
5+
#python download.py input/allbbls3b.tsv >allbbls3b.log 2>&1 &
6+
#python download.py input/allbbls3c.tsv >allbbls3c.log 2>&1 &
7+
#python download.py input/allbbls3d.tsv >allbbls3d.log 2>&1 &
8+
#python download_direct.py 20150605 input/pluto14v2noCondos.csv >pluto14v2noCondos.log 2>&1 &
9+
#python download.py input/condobbls.csv >condobbls.log 2>&1 &
10+
#python download.py input/pluto14v2noCondos.csv >pluto14v2noCondos.log 2>&1 &
11+
12+
13+
#cat input/BX09v1.txt | cut -d , -f 1-3 | tr -d ' ' | tr -d '"' | tr ',' '\t' | python download_direct.py 20090606 SOA > logs/20090606-bx-pluto.log 2>&1 &
14+
#cat input/BK09v1.txt | cut -d , -f 1-3 | tr -d ' ' | tr -d '"' | tr ',' '\t' | python download_direct.py 20090606 SOA > logs/20090606-bk-pluto.log 2>&1 &
15+
#cat input/MN09v1.txt | cut -d , -f 1-3 | tr -d ' ' | tr -d '"' | tr ',' '\t' | python download_direct.py 20090606 SOA > logs/20090606-mn-pluto.log 2>&1 &
16+
#cat input/QN09v1.txt | cut -d , -f 1-3 | tr -d ' ' | tr -d '"' | tr ',' '\t' | python download_direct.py 20090606 SOA > logs/20090606-qn-pluto.log 2>&1 &
17+
#cat input/SI09v1.txt | cut -d , -f 1-3 | tr -d ' ' | tr -d '"' | tr ',' '\t' | python download_direct.py 20090606 SOA > logs/20090606-si-pluto.log 2>&1 &
18+
19+
20+
21+
sort input/pluto14v2noCondos.bak.csv | sed -n 1,150000p | python download_direct.py 20170602 SOA > logs/20170624-000.log 2>&1 &
22+
sort input/pluto14v2noCondos.bak.csv | sed -n 150001,300000p | python download_direct.py 20170602 SOA > logs/20170624-150.log 2>&1 &
23+
sort input/pluto14v2noCondos.bak.csv | sed -n 300001,450000p | python download_direct.py 20170602 SOA > logs/20170624-300.log 2>&1 &
24+
sort input/pluto14v2noCondos.bak.csv | sed -n 450001,600000p | python download_direct.py 20170602 SOA > logs/20170624-450.log 2>&1 &
25+
sort input/pluto14v2noCondos.bak.csv | sed -n 600001,750000p | python download_direct.py 20170602 SOA > logs/20170624-600.log 2>&1 &
26+
sort input/pluto14v2noCondos.bak.csv | sed -n 750001,900000p | python download_direct.py 20170602 SOA > logs/20170624-750.log 2>&1 &

upload.sh

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ find data/ -iname *.pdf | while read pdf; do
88
txtpath="$path/$filename.txt"
99

1010
if [ -e "$txtpath" ]; then
11+
echo "copy and delete $pdf"
1112
aws s3 cp "$pdf" "s3://taxbills.nyc/$pdf" --acl public-read && rm "$pdf"
1213
fi
1314
done

0 commit comments

Comments
 (0)