mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2024-11-24 16:21:56 +00:00
12 lines
433 B
Plaintext
12 lines
433 B
Plaintext
|
#!/bin/sh
|
||
|
#script to regenerate expo photo collection
|
||
|
|
||
|
BASEDIR=/home/expo
|
||
|
WEBDIR=/home/expo
|
||
|
|
||
|
#tidy up dangling symlinks first
|
||
|
find ${WEBDIR}/webphotos -type l -print0 | xargs -0 --no-run-if-empty rm
|
||
|
#config file location set in /etc/bins/binsrc, not here.
|
||
|
bins -o scaled -e ${BASEDIR}/expofiles/photos ${WEBDIR}/webphotos > ${BASEDIR}/updatephoto.log 2>&1
|
||
|
|
||
|
# <html><body>Line inserted to stop link-scanners complaining</body></html>
|