]> Pileus Git - ~andy/ct/blobdiff - gallery/mkgallery
Update gallery
[~andy/ct] / gallery / mkgallery
diff --git a/gallery/mkgallery b/gallery/mkgallery
new file mode 100755 (executable)
index 0000000..60b8c75
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+mkdir -p large small thumb
+mv "$@" large
+
+chgrp apache small thumb
+chmod 775    small thumb
+
+ln -s ~/git/ct/gallery/gallery  index.bin
+ln -s ~/git/ct/gallery/htaccess .htaccess