Revision 13119
Added by Aaron Marcuse-Kubitza almost 11 years ago
trunk/README.TXT | ||
---|---|---|
98 | 98 |
extract the svn revision after "Revision:" |
99 | 99 |
export version=r[revision]_2 # +suffix to distinguish from last import |
100 | 100 |
# env var will be inherited by `screen` shell |
101 |
to import just a subset of the datasources: |
|
102 |
declare -ax inputs=(inputs/{src,...}/) |
|
103 |
# env var will be inherited by `screen` shell (shell var would not) |
|
104 |
export version=custom_import_name |
|
105 |
# env var will be inherited by `screen` shell |
|
106 | 101 |
screen |
107 | 102 |
Press ENTER |
108 | 103 |
unset TMOUT # TMOUT causes screen to exit even with background processes |
109 | 104 |
set -o ignoreeof #prevent Ctrl+D from exiting `screen` to keep attached jobs |
105 |
to import just a subset of the datasources: |
|
106 |
declare -ax inputs=(inputs/{src,...}/) |
|
107 |
# array vars *not* inherited by `screen` shell |
|
108 |
export version=custom_import_name |
|
110 | 109 |
Start column-based import: . bin/import_all |
111 | 110 |
To use row-based import: . bin/import_all by_col= |
112 | 111 |
To stop all running imports: . bin/stop_imports |
Also available in: Unified diff
bugfix: /README.TXT: Full database import: to import just a subset of the datasources: array env var needs to be set after opening the `screen` shell because array vars are apparently not inherited by the `screen` shell