seitime-frappe/frappe/docs/user/guides/data/import-large-csv-file.md
2015-10-30 16:40:39 +05:30

23 lines
No EOL
664 B
Markdown

To import very large CSV files, you can use the bench utility `import-csv`.
The benefit is that this is not subject to timeouts if you use the web interface.
Here is an example:
bench --site test.erpnext.com import-csv ~/Downloads/Activity_Type.csv
### Help
$ bench import-csv --help
Usage: bench import-csv [OPTIONS] PATH
Import CSV using data import tool
Options:
--only-insert Do not overwrite existing records
--submit-after-import Submit document after importing it
--ignore-encoding-errors Ignore encoding errors while coverting to unicode
--help Show this message and exit.
<!-- markdown -->