changed copy to use rsync
This commit is contained in:
parent
d5739138a3
commit
d1d6e158c5
|
@ -2,6 +2,6 @@
|
|||
|
||||
cd /mnt/pi4-4_storage/wikis/website-wiki/mywiki/
|
||||
sudo tiddlywiki --rendertiddlers [!is[system]!tag[Draft]] $:/rdr231/templates/static.tiddler.html static text/plain --rendertiddler $:/rdr231/templates/static.template.css static/static.css text/plain
|
||||
sudo rm -rf /mnt/pi4-4_storage/delfax/website/*
|
||||
sudo cp -r output/static/* /mnt/pi4-4_storage/delfax/website/
|
||||
sudo rsync -avv --delete /mnt/pi4-4_storage/wikis/website-wiki/mywiki/output/static/ /mnt/pi4-4_storage/delfax/website/
|
||||
sudo chmod -R o+r /mnt/pi4-4_storage/delfax/website/*
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
ssh -p 50022 root@fubar.delfax.net rm -rf /var/www/html/rdr231/*
|
||||
scp -P 50022 -r /mnt/pi4-4_storage/delfax/website/* root@fubar.delfax.net:/var/www/html/rdr231/
|
||||
rsync -avv --delete -e "ssh -p 50022" /mnt/pi4-4_storage/delfax/website/ root@fubar.delfax.net:/var/www/html/rdr231/
|
||||
|
||||
|
|
Loading…
Reference in New Issue