mirror of
https://github.com/mrrpnya/lipu-sona.git
synced 2025-02-13 16:44:39 +00:00
added the new upload.sh script
This commit is contained in:
parent
46e317a3e2
commit
89f7efffdc
2 changed files with 12 additions and 5 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
@ -1,8 +1,4 @@
|
||||||
blogdates.txt
|
blogdates.txt
|
||||||
localhashes.txt
|
|
||||||
remotehashes.txt
|
|
||||||
Makefile.cfg
|
Makefile.cfg
|
||||||
upload.pwd
|
upload.name
|
||||||
upload.lasttime
|
|
||||||
upload.sh
|
|
||||||
out/
|
out/
|
||||||
|
|
11
upload.sh
Executable file
11
upload.sh
Executable file
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/sh
|
||||||
|
source upload.name
|
||||||
|
# flags:
|
||||||
|
# -c makes sure uploads are based on file checksums
|
||||||
|
# -i shows stats for every changed file
|
||||||
|
# -I makes sure time differences aren't important
|
||||||
|
# -l copies symlinks as symlinks
|
||||||
|
# -p preserves permissions
|
||||||
|
# -r recurses across directories
|
||||||
|
# -z compresses files during transfer
|
||||||
|
rsync -ciIlprz out/* $REMOTE_URL
|
Loading…
Add table
Reference in a new issue