Initial working commit
Stripped sensitiv information
This commit is contained in:
22
piwirefresh.sh
Executable file
22
piwirefresh.sh
Executable 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}
|
Reference in New Issue
Block a user