|
1 | | -[id="generating-metadata-and-listing-files-for-syncable-exports_{context}"] |
| 1 | +[id="generating-metadata-and-listing-files-for-syncable-exports"] |
2 | 2 | = Generating metadata and listing files for syncable exports |
3 | 3 |
|
4 | | -In most cases, when exporting content in a syncable format using root privileges and the standard commands, metadata and listing files are generated automatically. However, you must manually trigger the generation of these files in the following circumstances: |
| 4 | +When exporting content in a syncable format, metadata and listing files are generated automatically. |
| 5 | +However, you must manually trigger the generation of these files in the following circumstances: |
5 | 6 |
|
6 | 7 | * When a non-root user is doing the export. |
7 | 8 | * When the `--async` flag has been passed, for root or non-root user. |
8 | | -* When triggering API manually or using Ansible modules to do the exports. |
| 9 | +* When using the {Project} API or Ansible modules to do the exports. |
9 | 10 |
|
10 | 11 | .Prerequisites |
11 | 12 | * The syncable export directory is accessible on disk. |
12 | 13 |
|
13 | 14 | .Procedure |
14 | | -. To generate metadata for a syncable export that was performed asynchronously or if the metadata was lost, use the following command: |
| 15 | +. Generate metadata for a syncable export: |
15 | 16 | + |
16 | 17 | [options="nowrap" subs="+quotes"] |
17 | 18 | ---- |
18 | | -# hammer content-export generate-metadata --path=/path/to/syncable/export |
| 19 | +$ hammer content-export generate-metadata --path=/path/to/syncable/export |
19 | 20 | ---- |
20 | | -+ |
21 | | -. To generate listing files for a syncable export directory, use the following command: |
| 21 | + |
| 22 | +. Generate listing files for a syncable export directory: |
22 | 23 | + |
23 | 24 | [options="nowrap" subs="+quotes"] |
24 | 25 | ---- |
25 | | -# hammer content-export generate-listing --path=/path/to/syncable/export |
| 26 | +$ hammer content-export generate-listing --path=/path/to/syncable/export |
26 | 27 | ---- |
0 commit comments