Mercurial > code > home > repos > photoprism
view update/update.sh @ 8:55a0dc78fc3a default tip
user fix
author | drewp@bigasterisk.com |
---|---|
date | Sat, 25 Mar 2023 15:24:14 -0700 |
parents | 07aa4c3cddc4 |
children |
line wrap: on
line source
#!/bin/zsh print update runnning as `id` date 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 } runuser -u drewp -- touch /my/pda/note10/photos_updated