-
Notifications
You must be signed in to change notification settings - Fork 58
/
prepare_tx.sh
executable file
·20 lines (20 loc) · 1.37 KB
/
prepare_tx.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env bash
set -xe
docker cp config.json $(docker ps -l -q):/root/ComputationalHealthcare/
docker cp PUDF_base1q2006_tab.txt.gz $(docker ps -l -q):/root/data/CH/TX/RAW/
docker cp PUDF_base1q2007_tab.txt.gz $(docker ps -l -q):/root/data/CH/TX/RAW/
docker cp PUDF_base1q2008_tab.txt.gz $(docker ps -l -q):/root/data/CH/TX/RAW/
docker cp PUDF_base1q2009_tab.txt.gz $(docker ps -l -q):/root/data/CH/TX/RAW/
docker cp PUDF_base2q2006_tab.txt.gz $(docker ps -l -q):/root/data/CH/TX/RAW/
docker cp PUDF_base2q2007_tab.txt.gz $(docker ps -l -q):/root/data/CH/TX/RAW/
docker cp PUDF_base2q2008_tab.txt.gz $(docker ps -l -q):/root/data/CH/TX/RAW/
docker cp PUDF_base2q2009_tab.txt.gz $(docker ps -l -q):/root/data/CH/TX/RAW/
docker cp PUDF_base3q2006_tab.txt.gz $(docker ps -l -q):/root/data/CH/TX/RAW/
docker cp PUDF_base3q2007_tab.txt.gz $(docker ps -l -q):/root/data/CH/TX/RAW/
docker cp PUDF_base3q2008_tab.txt.gz $(docker ps -l -q):/root/data/CH/TX/RAW/
docker cp PUDF_base3q2009_tab.txt.gz $(docker ps -l -q):/root/data/CH/TX/RAW/
docker cp PUDF_base4q2006_tab.txt.gz $(docker ps -l -q):/root/data/CH/TX/RAW/
docker cp PUDF_base4q2007_tab.txt.gz $(docker ps -l -q):/root/data/CH/TX/RAW/
docker cp PUDF_base4q2008_tab.txt.gz $(docker ps -l -q):/root/data/CH/TX/RAW/
docker cp PUDF_base4q2009_tab.txt.gz $(docker ps -l -q):/root/data/CH/TX/RAW/
docker exec -u="root" -it $(docker ps -l -q) fab prepare_tx