Add plugin folder and docs
This commit is contained in:
parent
48717869d0
commit
f7095ebd40
@ -1,12 +1,16 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# Creates a ZIP archive of all important files and uploads
|
||||||
|
# it via scp. You are prompted for the exact path and
|
||||||
|
# need to extract the archive on the server afterwards.
|
||||||
|
|
||||||
dirname=latex-wochenende-$(date +"%Y%m%d%H%M%S")
|
dirname=latex-wochenende-$(date +"%Y%m%d%H%M%S")
|
||||||
|
|
||||||
echo "Creating zip file …"
|
echo "Creating zip file …"
|
||||||
mkdir $dirname
|
mkdir $dirname
|
||||||
for i in css images index.html js lib sections; do
|
for i in css images index.html js lib sections plugin; do
|
||||||
cp -r $i $dirname/$i
|
cp -r $i $dirname/$i
|
||||||
done;
|
done;
|
||||||
|
|
||||||
(zip -r $dirname.zip $dirname) 1> /dev/null
|
(zip -r $dirname.zip $dirname) 1> /dev/null
|
||||||
rm -rf $dirname
|
rm -rf $dirname
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user