File size: 353 Bytes
30d835f
 
 
 
 
 
 
 
 
 
5405e46
12f32fd
5405e46
12f32fd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env bash
file_name=${1}

local_file_name=$(echo "${file_name}" | cut -f8 -d/)
bare_local_file_name=$(echo "${local_file_name}" | cut -f1 -d.)

wget ${file_name}

./write_to_filtered_file.py ${local_file_name}

# gzip -c "${bare_local_file_name}.txt" > "${bare_local_file_name}.txt.gz"

# rm "${bare_local_file_name}.txt"
rm ${local_file_name}