-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmeta.common.sh
More file actions
executable file
·31 lines (26 loc) · 1.22 KB
/
meta.common.sh
File metadata and controls
executable file
·31 lines (26 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# this is an include file for general parameters.
export oldestDate="12/31/2019"
# header for curl to make websites accept the request:
curlAgentHeader='User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36'
#
# Fund list related generated data files shared across the environment.
CIKmap="../data/CIK-map.json"
companyMap="../data/company-map.json"
finraFile="../data/finra.json"
fiscalYearFile="../data/fiscalYearFile.csv"
fundsList="../data/funds-list.txt"
fundsMetaFile="../data/fundsMeta.json"
[ -d "../data" ] || mkdir "../data"
#
# MFP source and intermediate file related folders
submissionsFilesDir="../EDGAR-b-submissions/submissions"
[ -d "$submissionsFilesDir" ] || mkdir -p "$submissionsFilesDir"
submissionsExtensionsDir="../EDGAR-b-submissions/submissions-ext"
[ -d "$submissionsExtensionsDir" ] || mkdir -p "$submissionsExtensionsDir"
MFPListsDir="../EDGAR-d-MFP-lists/MFP-lists"
[ -d "$MFPListsDir" ] || mkdir -p "$MFPListsDir"
MFPFilesDir="../EDGAR-d-MFP-lists/MFP-files"
[ -d "$MFPFilesDir" ] || mkdir -p "$MFPFilesDir"
MFPReportsDir="../EDGAR-e-MFP-parse/reports"
[ -d "$MFPReportsDir" ] || mkdir -p "$MFPReportsDir"
cloudFlareHome="$HOME/cloudflare/public"