Difference between revisions of "Pdm load"
From SDU
NeronLeVelu (Talk | contribs) (→Examples) |
(→Examples) |
||
| Line 55: | Line 55: | ||
== Examples == | == Examples == | ||
| − | pdm_load -f extract.txt -v | + | * A standard load. This load assumes that the file contains ids or uuids for all entries. |
| + | pdm_load -f extract.txt -v | ||
| − | pdm_load -f cnt_data.csv -i -v | + | * Using the -i to load data will force the creation of new ids and uuids. The file being loaded should be void of any id and uuid data. |
| + | pdm_load -f cnt_data.csv -i -v | ||
| − | + | * Removing some info (not shared by another application) from a file. Use the -r | |
| − | * Removing some info (not shared by | + | |
pdm_load -f InfoToRemove.dat -r -v 2>load.err | pdm_load -f InfoToRemove.dat -r -v 2>load.err | ||
| + | |||
| + | |||
| + | |||
| + | ---- | ||
| + | |||
| + | To make corrections or additions to this article, select the ''edit'' tab above. | ||
| + | |||
| + | To discuss or ask questions about this article, select the ''discussion'' tab above. | ||
Revision as of 13:51, 27 January 2008
Use pdm_load to load information directly into the database and bypass the GUIs.
Usage
pdm_load -f [filename] [-a] [-c] [-e] [-h] [-i] [-m] [-v] [-r] [-u] [-x]
| Command | Description | Remarks |
|---|---|---|
| -a | update all matching data | |
| -c | check only, no change to data | |
| -e | treat escapes literally | |
| -h | help | |
| -i | insert only | |
| -m | notify domsrvr of mass update | |
| -v | verbose | |
| -r | remove | |
| -u | update only | |
| -x | use locale sensitive numeric input formats |
Examples
- A standard load. This load assumes that the file contains ids or uuids for all entries.
pdm_load -f extract.txt -v
- Using the -i to load data will force the creation of new ids and uuids. The file being loaded should be void of any id and uuid data.
pdm_load -f cnt_data.csv -i -v
- Removing some info (not shared by another application) from a file. Use the -r
pdm_load -f InfoToRemove.dat -r -v 2>load.err
To make corrections or additions to this article, select the edit tab above.
To discuss or ask questions about this article, select the discussion tab above.