hugo_import.md (1445B)
1 ---
2 title: "hugo import"
3 slug: hugo_import
4 url: /commands/hugo_import/
5 ---
6 ## hugo import
7
8 Import your site from others.
9
10 ### Synopsis
11
12 Import your site from other web site generators like Jekyll.
13
14 Import requires a subcommand, e.g. `hugo import jekyll jekyll_root_path target_path`.
15
16 ### Options
17
18 ```
19 -h, --help help for import
20 ```
21
22 ### Options inherited from parent commands
23
24 ```
25 --clock string set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
26 --config string config file (default is path/config.yaml|json|toml)
27 --configDir string config dir (default "config")
28 --debug debug output
29 -e, --environment string build environment
30 --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
31 --log enable Logging
32 --logFile string log File path (if set, logging enabled automatically)
33 --quiet build in quiet mode
34 -s, --source string filesystem path to read files relative from
35 --themesDir string filesystem path to themes directory
36 -v, --verbose verbose output
37 --verboseLog verbose logging
38 ```
39
40 ### SEE ALSO
41
42 * [hugo](/commands/hugo/) - hugo builds your site
43 * [hugo import jekyll](/commands/hugo_import_jekyll/) - hugo import from Jekyll
44