Mercurial > code > home > repos > photoprism
view update/update.sh @ 4:a248c94091e7
get updater working BAMN
author | drewp@bigasterisk.com |
---|---|
date | Thu, 16 Mar 2023 18:11:02 -0700 |
parents | 781290b4a683 |
children | 07aa4c3cddc4 |
line wrap: on
line source
#!/bin/zsh date useradd -MN -u 501 drewp grep drewp /etc/passwd runuser -u drewp -- /my/pda/note10/copy_photos > /tmp/photo_touched_dirs wc /tmp/photo_touched_dirs date for x (`cat /tmp/photo_touched_dirs`) { ./kubectl exec deploy/photoprism -c photoprism -- photoprism index $x } touch /my/pda/note10/photos_updated