diff --git a/README.md b/README.md index e9db3179..e81126ea 100644 --- a/README.md +++ b/README.md @@ -163,6 +163,10 @@ To get help on a specific command, use `osxphotos help ` `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 diff --git a/README.rst b/README.rst index 9f06705c..96353ae8 100644 --- a/README.rst +++ b/README.rst @@ -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 ---------------------------