Files
piwigo_scan/piwirefresh.sh
Martin Winkler 3775d4ddd2 Initial working commit
Stripped sensitiv information
2019-05-22 13:39:54 +02:00

23 lines
377 B
Bash
Executable File

#!/bin/bash
catId=0
subCatId=1
if [ "$1" != "" ] && [ "$2" != "" ]
then
catId=$1
subCatId=$2
fi
perl -w /root/script/piwigo_refresh.pl \
--base_url=https://change.me/gallery \
--site=2 \
--user="-change me-" \
--password="-change me-" \
--directory="/var/www/piwigo/network" \
--caddie=0 \
--privacy_level=4 \
--cat=${catId} \
--subcat=${subCatId}