Initial working commit

Stripped sensitiv information
This commit is contained in:
2019-05-22 13:39:54 +02:00
parent b1e7b419ed
commit 3775d4ddd2
4 changed files with 285 additions and 0 deletions

22
piwirefresh.sh Executable file
View File

@@ -0,0 +1,22 @@
#!/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}