Skip to content

Commit 99bb144

Browse files
Regenerate README file (#251)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 2e40550 commit 99bb144

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ wp media fix-orientation [<attachment-id>...] [--dry-run]
109109
Creates attachments from local files or URLs.
110110

111111
~~~
112-
wp media import <file>... [--post_id=<post_id>] [--post_name=<post_name>] [--file_name=<name>] [--title=<title>] [--caption=<caption>] [--alt=<alt_text>] [--desc=<description>] [--skip-copy] [--destination-dir=<destination-dir>] [--preserve-filetime] [--featured_image] [--porcelain[=<field>]]
112+
wp media import <file>... [--post_id=<post_id>] [--post_name=<post_name>] [--file_name=<name>] [--title=<title>] [--caption=<caption>] [--alt=<alt_text>] [--desc=<description>] [--skip-copy] [--destination-dir=<destination-dir>] [--preserve-filetime] [--featured_image] [--skip-duplicates] [--porcelain[=<field>]]
113113
~~~
114114

115115
**OPTIONS**
@@ -158,6 +158,9 @@ wp media import <file>... [--post_id=<post_id>] [--post_name=<post_name>] [--fil
158158
[--featured_image]
159159
If set, set the imported image as the Featured Image of the post it is attached to.
160160

161+
[--skip-duplicates]
162+
If set, media files that have already been imported will be skipped.
163+
161164
[--porcelain[=<field>]]
162165
Output a single field for each imported image. Defaults to attachment ID when used as flag.
163166
---

0 commit comments

Comments
 (0)