4 echo "usage: mkgallery <path>"
8 SRC=/home/andy/src/ct/gallery
13 mkdir -p "$base"/{large,small,thumb}
14 mv "${files[@]}" large
16 chgrp apache "$base"/{small,thumb}
17 chmod 775 "$base"/{small,thumb}
19 ln -s $SRC/gallery "$base"/index.bin
20 ln -s $SRC/htaccess "$base"/.htaccess