7 comments

  • ggm a day ago

    Does this preserve album and other tagging? Because I would love a tool which can do this. icloud takeout is a dump in zip parts with no structure. If your desktop is a PC, there's nothing. I can use a loaner mac, sync, and then.. I'd like to extract the images with album preserved.

      cleanexit0 a day ago

      want to clarify if you want to: 1. be able to filter photos by passing in album info, such as `./darwin-photos ls --album "vacation" --start 2023-01-01 --local`, OR 2. backup photos + album info so that we know what album each photos belong to in the backup file (i assume you mean this)

      if 2nd, no it is currently not preserving that. it is keeping the original photos only, without much metadata encoded

      why do you want album / tags info? can u help me understand your usecase better, thank you very much

        ggm 20 hours ago

        If you can list albums, and then foreach $album fetch, you can (at a cost of probably re fetching images) do what I want and then post fact reduce the duplicates to hard links.

        So if the tool includes a list, not fetch function and includes list albums in a format which matches a get album name or ID, you can do what I want crudely.

          cleanexit0 15 hours ago

          feel free to install the latest version and try: - `darwin-photos albums` list album names - `darwin-photos ls --album <album_name> --json` will list all photos of the album

          do let me know if any valuable feature you're looking for

      cleanexit0 a day ago

      hey ggm, not yet but can add.

      to speed this up, can you explain what exactly features are you looking for? - album info of a photo? - tags on a photo? - etc

      lmk!

        ggm 20 hours ago

        Ideally all of it, but album is the primary case. Sidecar files would be fine, or an sqlite3 schema, or even a CSV if it meant scripting recreation of e.g. a link farm from photos as sharded images to directories of albums.

        Tags, that's just icing on the cake for me. That said, exif compatible metadata for date helps a LOT.

          ggm 20 hours ago

          One more thing: port code to free OS, Windows, Android and iOS. So this works for people not in macos Photos library given a suitable abi token.