You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
osxphotos export and query commands have a bewildering number of options (over 100!) and even as the developer, I sometimes have trouble remembering what a specific option is called. As of v0.47.3, I've added topic search to the help command in the form: osxphotos help COMMAND TOPIC. The topic is optional, but if provided, will search for the topic in all the options for the given command and print just those options (with highlighting of the search term). Hope you find this as useful as I do!
For example:
$ osxphotos help export config
Usage: osxphotos export [OPTIONS] [PHOTOS_LIBRARY]... DEST
Export photos from the Photos database. Export path DEST is required.
Optionally, query the Photos database using 1 or more search options; if
more than one option is provided, they are treated as "AND" (e.g. search for
photos matching all options). If no query options are provided, all photos
will be exported. By default, all versions of all photos will be exported
including edited versions, live photo movies, burst photos, and associated
raw images. See --skip-edited, --skip-live, --skip-bursts, and --skip-raw
options to modify this behavior.
Options that match 'config':
--load-config <config file path>
Load options from file as written with
--save-config. This allows
you to save a complex export command to file
for later reuse. For example: 'osxphotos
export <lots of options here>
--save-config
osxphotos.toml' then 'osxphotos export
/path/to/export --load-config
osxphotos.toml'. If any other command line
options are used in conjunction with --load-
config, they will override the corresponding
values in the config file.
--save-config <config file path>
Save options to file for use with
--load-config. File format
is TOML. See also
--config-only.
--config-only If specified, saves the
config file but does not
export any files; must be used with
--save-config.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
osxphotos export and query commands have a bewildering number of options (over 100!) and even as the developer, I sometimes have trouble remembering what a specific option is called. As of v0.47.3, I've added topic search to the help command in the form:
osxphotos help COMMAND TOPIC
. The topic is optional, but if provided, will search for the topic in all the options for the given command and print just those options (with highlighting of the search term). Hope you find this as useful as I do!For example:
Beta Was this translation helpful? Give feedback.
All reactions