Remove auxiliary scripts
This commit is contained in:
parent
93a9d0469d
commit
5bc9d6dafa
|
@ -1,21 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
ba_export_html_dir='/home/jscaux/work/writing/lecture_notes/Bethe_Ansatz/export/html/'
|
|
||||||
ba_html_build_dir='/home/jscaux/work/writing/lecture_notes/Bethe_Ansatz_html/build/'
|
|
||||||
|
|
||||||
cd $ba_html_build_dir
|
|
||||||
|
|
||||||
cp -r $ba_export_html_dir* $ba_html_build_dir
|
|
||||||
|
|
||||||
# remove files which don't exist anymore
|
|
||||||
for file in $(ls -R)
|
|
||||||
do
|
|
||||||
if ! [ -f $BA_export_html_dir$file ]
|
|
||||||
then
|
|
||||||
rm $file
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
echo 'Committing'
|
|
||||||
msg='Update '$(date +"%F %R")
|
|
||||||
git commit -a -m "$msg"
|
|
|
@ -1,3 +0,0 @@
|
||||||
#! /bin/bash
|
|
||||||
|
|
||||||
rsync -avhPz --delete export/html/ jscaux@opal6.opalstack.com:apps/integrability
|
|
Loading…
Reference in New Issue