Added --add-to-album example to README

This commit is contained in:
Rhet Turnbull
2021-05-02 13:51:48 -07:00
parent 88fae81b19
commit 442b542794
2 changed files with 9 additions and 0 deletions

View File

@@ -163,6 +163,10 @@ To get help on a specific command, use `osxphotos help <command_name>`
`osxphotos query --keyword Kids --json ~/Pictures/Photos\ Library.photoslibrary >results.json`
#### Find all videos larger than 200MB and add them to an album named "Big Videos" in Photos, creating the album if necessary
`osxphotos query --only-movies --min-size 200MB --add-to-album "Big Videos"`
### Tutorial
<!-- OSXPHOTOS-TUTORIAL:START --><!-- OSXPHOTOS-TUTORIAL-HEADER:START --><!-- OSXPHOTOS-TUTORIAL-HEADER:END -->

View File

@@ -146,6 +146,11 @@ export default library using 'country name/year' as output directory (but use "N
``osxphotos export ~/Desktop/export --directory "{place.name.country,NoCountry}/{created.year}" --person-keyword --album-keyword --keyword-template "{created.year}" --exiftool --update --verbose``
find all videos larger than 200MB and add them to Photos album "Big Videos" creating the album if necessary
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
``osxphotos query --only-movies --min-size 200MB --add-to-album "Big Videos"``
Example uses of the package
---------------------------